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

Re: deprecating SIGDIE

Thread Previous | Thread Next
From:
Raphael Manfredi
Date:
September 30, 1999 09:41
Subject:
Re: deprecating SIGDIE
Message ID:
22143.938709571@lod23.gnb.st.com
Quoting tchrist@jhereg.perl.com:
::Upon pondering, I prefer Tom's approach.  __DIE__ is meant for exactly
::that.  A last chance to catch a die at the application level. Support
::for post-processing to allow for rich exception handling/tracing needs
::to be addressed though, so that people can convert all their existing
::code that presently abuses the __DIE__ semantics.
:
:There's always Module::END for module-cleanup.

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.

Raphael

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About