develooper Front page | perl.perl6.language.errors | Postings from December 2004

Re: $SIG{__DIE__} should be localized and cleared at the start of an eval block

Thread Previous | Thread Next
From:
devin
Date:
December 17, 2004 08:01
Subject:
Re: $SIG{__DIE__} should be localized and cleared at the start of an eval block
Message ID:
20041217123919.11622.qmail@lists.develooper.com
I agree with you but an alternative you didn't mention is to start off
your die handler with:

die @_ if $^S;



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