I want a piece of eval'd code to create a local variable in the
eval'ers context...  How do I do that?

I tried:

	eval("foo=7", binding)
	puts foo

Which results in:

	test.rb:2: undefined local variable or method `foo' for
	#<Object:0x4026cc90> (NameError)

Any help is much appreciated.

-- 
Colin Steele                                                        CEO, WebG2
colin / webg2.com                                                  www.webg2.com
Main: 804-971-4777                                           Fax: 804-220-4652