in reply to mod_perl advice required

You'll specifically want to look at cgi_to_mod_perl and mod_perl_traps manpages, as your question is common enough to have a FAQ answer.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.