in reply to Multiple "Pages"

You might also want to read up on the CGI::Application module, available from CPAN. Instead of each page corresponding to a section of an ever-growing (and harder to maintain) if-then-else block, you create a subroutine for each page (called a 'run mode'). All the subroutines go into a module, and your cgi-script reduces to about 3 lines of code: load module, create instance, run application! If your starting a new project from scratch, it's definitely worth checking out. It could save you lots of time and energy down the road.

Replies are listed 'Best First'.
Re^2: Multiple "Pages"
by EvanK (Chaplain) on Feb 26, 2007 at 15:02 UTC
    Indeed, this is precisely what CGI::Application is made for. As a working example, here's a fairly simple C::A application.

    __________
    Systems development is like banging your head against a wall...
    It's usually very painful, but if you're persistent, you'll get through it.