Don't ask to ask, just ask | |
PerlMonks |
Re: Best Practices for Exception Handlingby thraxil (Prior) |
on Jan 28, 2003 at 23:28 UTC ( [id://230804]=note: print w/replies, xml ) | Need Help?? |
Matt Sergeant points out (pdf) that Error.pm's try/catch is implemented with a function prototype of & that can create nastly, unexpected closures. his recommendation is to use Error.pm but use eval instead of the try/catch syntactic sugar.
In Section
Seekers of Perl Wisdom
|
|