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

Re: Handle application errors with mod_perl

by sundialsvc4 (Monsignor)
on Feb 07, 2013 at 14:19 UTC ( #1017664=note: print w/ replies, xml ) Need Help??


in reply to Handle application errors with mod_perl

What you should do, really with regards to any substantial Perl application but especially in the case of mod_perl, is to place a “catch-block of last resort” around the entire guts of the application.   If an error is raised that is not caught by anyone else, this catch-block (eval in Perl) will catch it and thus maintain control.   (The situation, now, is very questionable, such that perhaps the process after sending back its response should kill itself and be re-born.)


Comment on Re: Handle application errors with mod_perl
Re^2: Handle application errors with mod_perl
by Anonymous Monk on Feb 07, 2013 at 14:26 UTC

    (The situation, now, is very questionable, such that perhaps the process after sending back its response should kill itself and be re-born.)

    LOL

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2014-08-02 03:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (54 votes), past polls