Stephen Waits wrote: > I've learned that in 1.8 eval is scoped like a block.. I'm wondering > how I might get around that? You can use eval with a binding argument: 10:21:12 [c]: ruby -e 'def f() x=1; g("x=6", binding); puts x; end; def g(c,b) eval(c,b) end; f' 6 Kind regards robert