Giles Bowkett wrote:
>> Don't use eval. There is no need in this example.
> 
> Why's everyone so scared of eval? Yes it can destroy your system
> completely and forever, but life's short. Might as well enjoy it.
> Drive without your seat belt. Go to wild parties. Use eval().

Do you tell that your customers too?

Besides security issues:
-eval is factors slower
-eval is less concise (remember, you read code far more often than you 
write it)
-eval is more annoying to debug

I'm sure there are more reasons. You see, only "security issue" (which 
is *huge*, mind you), none of them is based on "fear".

Regards
Stefan

-- 
Posted via http://www.ruby-forum.com/.