From: Eric Hodel Date: 2004-12-09T08:35:02+09:00 Subject: Re: binding question On 08 Dec 2004, at 14:21, email55555 email55555 wrote: > Hi Eric, > > I know it is ugly. But: > > (1) Why it works on irb and not on "ruby pgm.rb" ? irb is written in Ruby, so it is not 100% identical to ruby itself. > (2) What is the correct way to "dynamically" create local variable ? > For example: how to create local variables from an given local > vairable name strings array ? What are you really trying to do? We may be able to come up with a cleaner way of doing what you want.