in reply to Can I catch a die from someone else's module?
$SIG{"__DIE__"} = sub { do something }
It depends on the use case and module if that's preferable to block-eval resp. catch...
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
|---|