more useful options | |
PerlMonks |
Re: error handlingby Zaxo (Archbishop) |
on Jun 28, 2003 at 02:57 UTC ( [id://269795]=note: print w/replies, xml ) | Need Help?? |
You're describing a typical try ... catch situation. Have the error die with the message, call with eval {}, and check $@ after eval returns. After Compline,
In Section
Seekers of Perl Wisdom
|
|