Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: What magic is this?

by Jonathan (Curate)
on Oct 26, 2006 at 12:47 UTC ( #580749=note: print w/ replies, xml ) Need Help??


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 @_; }


Comment on Re^2: What magic is this?
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://580749]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2015-07-03 18:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (55 votes), past polls