Subject: [ruby-talk:15235] Bug or feature? eval("x=5")
From: "Hal E. Fulton" <hal9000 hypermetrics.com>
Date: Wed, 16 May 2001 13:26:59 +0900
Hello Rubyists...
This piece of code works as I expect.
x = nil
eval("x=5")
puts x # 5
This one doesn't.
eval("x=5")
puts x # Never heard of x!
Bug or feature?
Hal