develooper Front page | perl.perl5.porters | Postings from September 1999

Re: deprecating SIGDIE

Thread Previous | Thread Next
Tom Christiansen
September 30, 1999 09:45
Re: deprecating SIGDIE
Message ID:
>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 would benefit from

    for $psig { qw/ __WARN__ __DIE__ / } {
	push @{ $SIG{$psid} }, \&diag_handler;


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About