Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: trapping signals

by geekphilosopher (Friar)
on Nov 24, 2006 at 00:27 UTC ( [id://585807]=note: print w/replies, xml ) Need Help??


in reply to trapping signals

Quoth the Camel:
When a __DIE__ hook routine returns, exception processing continues as it would have in the absence of the hook, unless the hook routine itself exits via goto, a loop exit, or a die.

So, the die will still terminate your program. What are you trying to do with this? Quoth the Larry again:
Do not attempt to build an exception-handling mechanism on this feature. Use eval {} to trap exceptions instead.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-04-20 00:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found