Welcome to the Monastery | |
PerlMonks |
Re: trapping signalsby geekphilosopher (Friar) |
on Nov 24, 2006 at 00:27 UTC ( [id://585807]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|