http://qs1969.pair.com?node_id=580749


in reply to Re: What magic is this?
in thread What magic is this?

I know its my error handling code and when I add a cut down version it is enough to generate the same error;
$SIG{__DIE__} = \&log_die; sub log_die { print @_; }
This is the full version, strange it has a die in it but the process doesn't!
sub log_die { return unless CRITICAL >= $PRIORITY; _log(_msg('critical',@_)); die @_; }