From: Yukihiro Matsumoto Date: 2005-03-16T00:32:50+09:00 Subject: Re: eval/binding question Hi, In message "Re: eval/binding question" on Tue, 15 Mar 2005 23:02:44 +0900, Stefan Kaes writes: |I tried to create local variables from a name=>value hash passed as a |parameter, but I can't get it to work. The following test program shows |what is happening: local variables should be determined at compile time, thus local variables defined first in the eval'ed string, can only be accessed from other eval'ed strings. In addition, they will be more ephemeral in Ruby2, so that these variables will not be accessed from outside. In summary, I recommend you not to use local variables for your purpose. They are wrong tool for it. matz.