| (Top) < Why CGI::Application? | Run-Modes > |
You create an application module
A subclass of CGI::Application
#!/usr/bin/perl -wT
package MyWebApplication;
use base '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:
|
CGI::Application (v.2.0) |
5 |