Hi,
as many of you probably noticed, I didn't get an answer to
my question on Ruby-Talk:
<http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/176135>
Just let me ask it in a simpler way:
irb(main):001:0> instance_eval { $SAFE = 4 } ; $SAFE
=> 4
irb(main):002:0> instance_eval " $SAFE = 4 " ; $SAFE
=> 0
What is the fundamental difference? And why?
In `eval.c', I find a macro `PUSH_FRAME'. What are all the
ways I can induce Ruby to enter a subframe?
Thanks in advance.
Bertram
--
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de