From: Bertram Scharpf Date: 2006-01-21T05:11:16+09:00 Subject: Still $SAFE Hi, as many of you probably noticed, I didn't get an answer to my question on Ruby-Talk: 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