Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: What magic is this?

by ForgotPasswordAgain (Priest)
on Oct 26, 2006 at 12:37 UTC ( #580745=note: print w/replies, xml ) Need Help??

in reply to What magic is this?

Did you try putting the error handlers in the other script to see if it does the same thing? (BTW, I'm assuming both scripts are running on the same server using the same Perl.)

Replies are listed 'Best First'.
Re^2: What magic is this?
by Jonathan (Curate) on Oct 26, 2006 at 12:47 UTC
    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 @_; }

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (1)
As of 2023-05-28 04:10 GMT
Find Nodes?
    Voting Booth?

    No recent polls found