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 :)
In reply to Re^3: RFC: Lexical Fatal.pm for Perl 5.10
by BrowserUk
in thread RFC: Lexical Fatal.pm for Perl 5.10
by pjf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |