- or download this
#!/usr/bin/perl
...
$application->run();
exit 0;
- or download this
package self;
...
};
1;
- or download this
sub setup {
my ($self) = shift;
...
#
$self->param('dbh' => DBI->connect());
};
- or download this
sub teardown {
my ($self) = shift;
...
#
$self->param('dbh')->disconnect;
};
- or download this
# An example run-mode method
#
...
return $html->output; # return template output to CGI:
+:Application framework for display (*GOOD*)
};