On Sep 7, 2007, at 03:55, Erik Veenstra wrote:

> a       = nil
> b       = nil
>
> Thread.new do
>   data  = File.read("vars.rb")
>   $SAFE = 4
>   b     = Module.new.instance_eval{binding}
>
>   eval(data, b)
> end.join
>
> p a
> p b

echo "Thread.critical = true; sleep" >> vars.rb

--
Poor workers blame their tools. Good workers build better tools. The
best workers get their tools to do the work for them. -- Syndicate Wars