From: james@... Date: 2002-03-28T03:39:02+09:00 Subject: RE: Variable variables in Ruby? > > Hi - > > How does Ruby handle variable variables? > I want @submitVars to have the value of $_{value_of_some_variable} $_foobar = "Hello, world" x = "foo" y = "bar" baz = eval("$_#{x}#{y}") puts baz # prints Hello, world James > > -- > Mvh./Best Regards > Jonas Delfs, http://delfs.dk > > >