in reply to Which incarnation of try/catch to use?
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 ($@) { ... }!)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Which incarnation of try/catch to use?
by mldvx4 (Friar) on Oct 03, 2023 at 07:49 UTC | |
by eyepopslikeamosquito (Archbishop) on Oct 03, 2023 at 08:10 UTC |