Two possibly useful reactions:
- Check out CGI::Application. It's an object-oriented framework for creating web applications which works great under mod_perl.
- Using AUTOLOAD to load modules on-demand will waste memory under mod_perl. This is because modules loaded after startup will not be shared between Apache children and will be loaded multiple times. You will get much better performance by simply loading everything you need upfront during Apache startup.
-sam