http://www.perlmonks.org?node_id=1017664


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