Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Handle application errors with mod_perl

by sundialsvc4 (Abbot)
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
Replies are listed 'Best First'.
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 perusing the Monastery: (19)
As of 2015-07-07 17:57 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 (93 votes), past polls