Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Small examples of string evalby eyepopslikeamosquito (Archbishop) |
on May 14, 2006 at 03:43 UTC ( [id://549288]=note: print w/replies, xml ) | Need Help?? |
That is an example of block eval, not string eval; the OP was asking about string eval. There is wide agreement that block eval is a good thing in Perl 5 (for exception handling). Overloading eval with two different meanings in Perl 5 was unfortunate and is fixed in Perl 6, where block eval is spelled try.
In Section
Seekers of Perl Wisdom
|
|