Two well-respected books you might have on your bookshelf at work (Effective Perl Programming and Modern Perl) both discuss this issue and both recommend Try::Tiny - as mentioned at Re: eval to replace die? (Exceptions and Error Handling References).
In reply to Re: canonical doc explaing need for "eval { ... } or do {...}" construct
by eyepopslikeamosquito
in thread canonical doc explaing need for "eval { ... } or do {...}" construct
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |