Unfortunately, you really limit yourself when you eliminate mod_perl. The frameworks I think are closest to what you're looking for are OpenInteract and Apache::PageKit, but neither of those will work with CGI. That leaves you with things like CGI::MxScreen or CGI::Application, plus Template Toolkit or HTML::Template.