in reply to mod_perl and cgi detente

I found a link that might help you:

CGI to mod_perl Porting: mod_perl Coding Guidelines