From: Dave Thomas Date: 2002-03-28T04:21:41+09:00 Subject: Re: Variable variables in Ruby? "Jonas Delfs" writes: > In PHP you can do: $var = ${'_'.$anotherVar} - doesn't Ruby have a solution > like it? In Ruby I'd tend to use a Hash or a Struct for this - it seems somehow safer, and allows me the ability to insert additional behavior in future without having to change all my code. Dave