in reply to Re: What magic is this?
in thread What magic is this?
This is the full version, strange it has a die in it but the process doesn't!$SIG{__DIE__} = \&log_die; sub log_die { print @_; }
sub log_die { return unless CRITICAL >= $PRIORITY; _log(_msg('critical',@_)); die @_; }
|
---|