Have you considered Try::Tiny? It has zero dependencies, no CPAN test failures back to perl v5.8.8, and comes highly recommended in both the Effective Perl Programming and Modern Perl books, as noted at Re: eval to replace die? (Exceptions and Error Handling References).
Try::Tiny is also compatible with the new core Perl try-catch feature, as described in more detail at Re: 5.40 released (perl new feature References).
👁️🍾👍🦟
In reply to Re: Nested Evals in Old Perl 5.10
by eyepopslikeamosquito
in thread Nested Evals in Old Perl 5.10
by mikkoi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |