On Monday 24 November 2003 05:22 pm, Jamis Buck wrote:
> Hmm.  Couldn't you just do:
>
>   a = [ 1, 2, 3 ]
>   eval "a"

In such a simple case, of course. But consider:

  a=[1,2,3]
  eval "def z; p a; end;  z"

> This works for me, unless I'm misunderstanding what you are referring
> to.  Of course, this WON'T work if you specify a different binding to
> the eval...which is something I have run into myself.  In that
> particular case, a way of "cutting holes" (as you said) to the current
> scope would indeed be useful.

Further advantage.

-t0