Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: And yet more $SIG{__DIE__} fun...

by Fastolfe (Vicar)
on Nov 01, 2000 at 02:42 UTC ( #39347=note: print w/ replies, xml ) Need Help??


in reply to And yet more $SIG{__DIE__} fun...

This is adequately documented in perlvar (%SIG) and the documentation for die (at the bottom). A workaround is to put this as the first line in your signal handler for __DIE__:

die @_ if $^S;


Comment on Re: And yet more $SIG{__DIE__} fun...
Select or Download Code
RE: Re: And yet more $SIG{__DIE__} fun...
by Adam (Vicar) on Nov 01, 2000 at 02:52 UTC
    Ooooh. I've never used $^S before. Thanks!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://39347]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2014-08-02 00:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (53 votes), past polls