Discipulus just to add that there exists a finally clause for both modules you mentioned. Here is how to do it with Try::Tiny:
try { try_some_code() } catch { warn "oops: $_" } finally { $x = 'always-executes' };btw, I was bitten many times by forgetting the last colon and getting all sort of misleading error messages. This is not java!
In reply to Re^2: Exception clauses
by bliako
in thread Exception clauses
by betmatt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |