good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^3: how to check syntax of code inside a scalar?by Crackers2 (Parson) |
on Aug 04, 2010 at 21:04 UTC ( [id://852971]=note: print w/replies, xml ) | Need Help?? |
Bad idea... try it with this:
and you'll see that the BEGIN block still gets run, bypassing your return statement. So I'd consider it rather unsafe.
In Section
Seekers of Perl Wisdom
|
|