(Top)    < Why CGI::Application? Run-Modes >

CGI::Application Methodology

You create an application module

    A subclass of CGI::Application

The rest of the module:

The CGI script is an "instance script", which invokes the application module (and usually nothing else).

In operation:

  1. The browser passes a run-mode to the application

  2. The module evals that run-mode's method

  3. The method generates new browser output

CGI::Application
(v.2.0)
5