in reply to Re^2: Try::Tiny not returning error
in thread Try::Tiny not returning error
Or you could turn warnings into exceptions:sub set_delim { undef $delim; local $SIG{__WARN__} = sub { die() }; try { ...
sub set_delim { undef $delim; use warnings 'FATAL' => 'all'; try { ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Try::Tiny not returning error
by Audar (Novice) on Feb 13, 2014 at 14:58 UTC | |
|
Re^4: Try::Tiny not returning error
by Audar (Novice) on Feb 13, 2014 at 15:03 UTC |