- or download this
#!/usr/bin/perl --
...
sub Main {
... # CGI program here
}
- or download this
package MyProgram;
sub handler {
CGI::initialize_globals(); # unneeded if using CGI->new
... # CGI program here
}
- or download this
MyApp->new->run;
- or download this
Catalyst::ScriptRunner->run('MyApp', 'Apache');