Front page | perl.perl5.porters |
Postings from September 1999
Re: deprecating SIGDIE
Thread Previous
|
Thread Next
From:
Tom Christiansen
Date:
September 30, 1999 09:45
Subject:
Re: deprecating SIGDIE
Message ID:
199909301644.KAA13836@jhereg.perl.com
>Of course, for final cleanup, but I meant provisions for "hooking" along
>the exception reporting chain to alter the message, add tagging, whatever
>it is used today for... as poor man's exception handling.
I'm wondering whether that's what it *should* be used for, or whether
the exception objects aren't a much cleaner approach. Plus they
might be able to provide us with stackability that $SIG{__DIE__}
doesn't have. Certainly diagnostics.pm would benefit from
for $psig { qw/ __WARN__ __DIE__ / } {
push @{ $SIG{$psid} }, \&diag_handler;
}
--tom
Thread Previous
|
Thread Next