- or download this
catch Error::IO ...
- or download this
Error::IO->catch(...)
- or download this
try {
...
...
catch Error::IO with {
...
};
- or download this
try(sub { ... }, Error::IO->catch(with(sub { ... })));
- or download this
sub stuff { ... }
sub err_handler { ... }
try \&stuff, catch Error::IO with \&err_handler;