If you're going to use that code instead of Try::Tiny (which by the way is pure Perl and has no non-core dependencies), make sure you read the "Background" section of Try::Tiny's docs, as there are a number of issues with $@!
In reply to Re^3: Perl try { } catch(e) { }
by Anonymous Monk
in thread Perl try { } catch(e) { }
by Superfox il Volpone
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |