From: Adam Prescott Date: 2011-09-09T20:35:35+09:00 Subject: Re: Executing the output of a loop On Fri, Sep 9, 2011 at 4:32 AM, Marc Heiler wrote: > It does not matter how they are "supposed" to be used. > > Ruby does not impose it on him. > > eval() is a perfectly legit way to solve the problem description he has > given. > It will solve the problem, yes, but in not using an array, you lose the benefits of flexibility. Local variables with numbered suffixes is just reinventing something you already have as part of the language. Using eval instead of a basic language construct would be a pretty bad habit to get into.