Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 examining the Monastery: (10)
As of 2014-07-30 06:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (229 votes), past polls