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 reply to Re: Best Practices for Exception Handling
by thraxil
in thread Best Practices for Exception Handling
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |