in reply to Multiple Pages with CGI

Why are you wanting to shove all your pages through index.cgi? The standard way of handling this is to have a page1.cgi and a page2.cgi, etc.

My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?

Replies are listed 'Best First'.
Re^2: Multiple Pages with CGI
by bart (Canon) on Mar 24, 2007 at 21:39 UTC
    When handcoding, yes. But when using a framework like CGI::Application, all pages do indeed tend to go through a single master script.

      Through a single instance script, yes. But using some inheritance and dispatch tricks, each run mode (page) can be delegated to a separate Perl module.


      --
      Rohan