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

Re: deprecating SIGDIE

Thread Previous | Thread Next
Larry Wall
September 30, 1999 15:03
Re: deprecating SIGDIE
Message ID:
The original intent of __DIE__ was only to allow you to substitute one
kind of death for another on an application-wide basis without respect
to whether you were in an eval or not.  As a global backstop, it should
not be used any more lightly (or any more heavily :-) than class
UNIVERSAL.  Any attempt to build a general exception model on it should
be politely squashed.  Any bug that causes every eval {} to have to be
modified should be not so politely squashed.

Those are my current opinions.  It is also my optinion that polite
arguments degenerate to personal arguments far too frequently, and that
when they do, it's because both people wanted it to, or at least didn't
sufficiently want it not to.


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