Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Disable writing of eval'd errors to CGI log

by bart (Canon)
on Nov 27, 2003 at 09:19 UTC ( [id://310497]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $SIG{__DIE__} = sub {
        return if $^S;  # inside eval
        # write to log:
        ...
    };
    
  2. or download this
    {
        local $SIG{__DIE__};
    ...
        # oops!
        ... 
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2024-04-19 10:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found