Perl: the Markov chain saw | |
PerlMonks |
Re: Ignoring/Trapping the DIE signalby ikegami (Patriarch) |
on Jun 15, 2006 at 00:40 UTC ( [id://555388]=note: print w/replies, xml ) | Need Help?? |
I'd prefer a soln that doesn't involve eval'ing everything, as it's not only messy (lots of this type of code to fix), but also these daemons need to be as fast as reasonably possible. eval BLOCK (as opposed to eval EXPR) does add any slowdown that an alternative wouldn't add. eval BLOCK is like try BLOCK in other languages (whereas eval EXPR does run-time compilation of Perl code). The only alternative of which I know is $SIG{__DIE__}
In Section
Seekers of Perl Wisdom
|
|