orif (!eval { some_module_function( $param1 , $param2 , .. ); 1 }) { my $die_Message = $@; ... }
use Try::Tiny qw( try catch ); try { some_module_function( $param1 , $param2 , .. ); } catch { my $die_Message = $_; ... };
In reply to Re: is there a way to avoid dieing ?
by ikegami
in thread is there a way to avoid dieing ?
by palkia
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |