in reply to working under mod_cgi and mod_perl

The CGI module works correctly under both. If you do want a framework that is light enough to work with mod_cgi, CGI::Application is a good choice.