On 7/5/07, oryann9 <[EMAIL PROTECTED]> wrote:
--- "Randal L. Schwartz" <[EMAIL PROTECTED]>
wrote:
snip
> DO NOT USE STRING EVAL. EVER.
>
> Until you understand why I said that. :)
Will you kindly explain the logic/reasoning behind
this EVER rule?
snip
Almost anything you want to do with the string version of eval can be
done more safely and maintainable in some other way. If you want to
use string eval, first look for any possible way to avoid it. If you
can't find a solution that doesn't use string eval, then ask the list.
There are very few legitimate cases where string eval can be used,
and even those are dangerous and full of traps for the unwary.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/