http://www.perlmonks.org?node_id=635825

Miguel has asked for the wisdom of the Perl Monks concerning the following question:

Esteemed Monks,

I am re-writing a large (10s of forms, many templates, complex authorization rules, 10s os lists, many different file formats (png, xml, xls, pdf) to create and retrieve on the fly) web application purely based on mod_cgi. Actually, this app works well altought not so fast as I would like.

I am writing everything from the beggining trying to optimize my code to work under mod_cgi and mod_perl (with Apache::Registry). And here is where I'm stuck: how to deal with CGI (params requests) in a manner that works under both environments without writing a lot of specific code for each mode?
Is using a web app framework the 'only' solution?