In 5.34 to 5.48, it's experimental and requires suppressing experimental warnings; using finally remains experimental; see https://perldoc.perl.org/perlsyn#Try-Catch-Exception-Handling.use 5.040; try { .... } catch { return undef }
In reply to Re^2: Catching error in DateTime::Format
by ysth
in thread Catching error in DateTime::Format
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |