From: Andrew Chen Date: 2008-02-22T05:44:56+09:00 Subject: Re: Where does instance_eval _magically_ set the variable to? Todd, Yes, load more proper here than instance_eval. Also, I will use File.open block instead of File.read. However, this is still a mystery: In the original code, where did the variable "name" go? How to access that? When I use load 'param.txt', how to access variables loaded from the param.txt file? >cat param.txt Name='John' Name='John' last="smith" >./load.rb ./param.txt:2: warning: already initialized constant Name John ./load.rb:6: undefined local variable or method `last' for main:Object (NameError) > Thanks ~Andrew Chen