in reply to mod_perl question

I would strongly suggest that you look at using Plack or more specifically, coding to the PSGI API rather than writing to the mod_perl API. The advantage is that if you write to the PSGI API, you can deploy to CGI, FastCGI, mod_perl, standalone server etc - without changing your code. It sounds awesome, because it is :-)