in reply to Ignoring/Trapping the DIE signal
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__}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Ignoring/Trapping the DIE signal
by chrism01 (Friar) on Jun 15, 2006 at 01:15 UTC | |
by ioannis (Abbot) on Jun 15, 2006 at 02:08 UTC |