in reply to Re^2: RFC: Lexical Fatal.pm for Perl 5.10
in thread RFC: Lexical Fatal.pm for Perl 5.10
In both cases (and in most languages), the exceptions are handled at the end, or in the calling code.
Well, if you use the $SIG{__DIE__} = sub (...) approach, this has to be done up front. The two approachs, signal handler and block eval serve slightly different purposes, but can be mixed I think.
Anyway, good luck with your module :)
|
|---|