in reply to Re: Best practices for handling errors
in thread Best practices for handling errors

You might want to make that use 5.014;, since that's when eval {...}; if ($@) {...} became safe(r) (see Exception Handling).

Replies are listed 'Best First'.
Re^3: Best practices for handling errors
by Your Mother (Archbishop) on Sep 28, 2014 at 03:46 UTC

    Good note. I use 5.16 and 5.20 normally. The 5.12 was boilerplate and I considered using Try/Try::Tiny in it but the example was long enough already.