go ahead... be a heretic | |
PerlMonks |
Re: eval string possibilitiesby eyepopslikeamosquito (Archbishop) |
on Nov 22, 2004 at 04:40 UTC ( [id://409482]=note: print w/replies, xml ) | Need Help?? |
Generally, I agree with merlyn (•Re^2: Dynamically constructed function calls) and use string eval only as a last resort. Block eval, of course, is another matter, and I use that frequently for exception handling. A recent example of string eval (Re: rename files to upcase) that springs to mind is Larry's famous rename script.
In Section
Seekers of Perl Wisdom
|
|