Hi all,
Try::Tiny seems work fine to me. thanks.
在 2019/8/8 14:19, Shlomi Fish 写道:
You can create a signal handler for die and handle the exception in there.
Referhttps://users.cs.cf.ac.uk/Dave.Marshall/PERL/node116.html
Also see block eval -https://perldoc.pl/functions/eval - or one of its
wrappers likehttps://metacpan.org/pod/Try::Tiny .
Caveat: I maintainhttps://metacpan.org/pod/Error and recommend against using
the latter.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/