in reply to Perl CGI - multiple pages

For the kind of thing you're talking about, I would recommend CGI::Application. The docs are very clear, the usage is fairly simple, and the result is economical code that is easy to maintain and expand.

I had a fairly complicated app involving several pages built on just the CGI module (along with Template::Toolkit and DBI for a mysql backend). When I needed to make it more complicated with more pages, I decided to switch to CGI::Application (and continue using the same template module). The first thing I noticed was that, once I converted the original app to use this approach, I cut the amount of code I wrote by nearly half, and from that point on, expanding the app was quick work (whereas it would have been painfully difficult without this module).