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

Re: deprecating SIGDIE

Thread Previous
From:
merlyn
Date:
September 29, 1999 09:01
Subject:
Re: deprecating SIGDIE
Message ID:
m13dvx3dxi.fsf@halfdome.holdit.com
>>>>> "Tom" == Tom Christiansen <tchrist@jhereg.perl.com> writes:

Tom> 	eval {
Tom> 	    local $SIG{__DIE_)__};

Spurious paren here.

Tom> I'd much rather fix this right now than document the bug.  Sarathy?
Tom> Larry?  Is it toast yet?

Wasn't the consensus to cause an exception to wander upward until it
either hit an eval boundary or a non-undef local/global __DIE__
handler?  Then you could have the best of all three worlds (normal,
eval {}, and __DIE__).

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Thread Previous


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