IMHO, Try::Tiny is the "best" (simplest, most portable) module. Like Haarg, I am wondering what you mean by "eval { } can't do that" - one of the simplest ways to do try/catch built in to Perl is eval { ...; 1 } or do { ... }; (but not eval { ... }; if ($@) { ... }!)
In reply to Re: Which incarnation of try/catch to use?
by haukex
in thread Which incarnation of try/catch to use?
by mldvx4
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |