On Thu, 13 Oct 2005, Sean O'Halpin wrote:

> On 10/12/05, Eric Mahurin <eric_mahurin / yahoo.com> wrote:
>> Or maybe if "eval" became a keyword like you mentioned above
>> and it could also take a block, you could do this instead:
>>
>> b=1
>> eval {|;b|
>>  b=5
>>  p b # => 5
>> }
>> p b # => 1
>
> +1
>
> Any chance of eval taking a block ~and~ a specific binding, e.g.
>
>  eval &block, binding
>
> (though this breaks current argument parsing rules).
>
> Sean

eval(binding, &block) works.  the eval(string) method just needs to check it's
arg type.

-a
-- 
===============================================================================
| email :: ara [dot] t [dot] howard [at] noaa [dot] gov
| phone :: 303.497.6469
| Your life dwells amoung the causes of death
| Like a lamp standing in a strong breeze.  --Nagarjuna
===============================================================================