Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 contemplating the Monastery: (13)
As of 2016-08-26 14:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (371 votes). Check out past polls.