Re: RFC 63 (v3) Exception handling syntax
[email protected] (Piers Cawley) 16 Aug 2000 09:56:52 +0100
| Newsgroups | perl.perl6.language.flow |
|---|---|
| Message-ID | <[email protected]> |
Chaim Frenkel <[email protected]> writes: > >>>>> "PRL" == Perl6 RFC Librarian <[email protected]> writes: > PRL> =head2 $SIG{__DIE__} > > PRL> <$SIG{__DIE__}> needs to be triggered only as a I<last> resort > PRL> instead of firing immediately, since it messes with the mind of > PRL> this and every other decent exception handling mechanism. > PRL> Perhaps it should be axed altogether. Please. > > $SIG{DIE} should die. Action at a distance. Global. Can't know what > other threads or modules want done here. Bloody hell! I agree with you 100% on something. Death to $SIG{__DIE__}, and $SIG{__WARN__} while we're about it. -- Piers