Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 perusing the Monastery: (11)
As of 2014-12-22 22:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (132 votes), past polls