- or download this
use CGI qw(:standard);
...
}
# do some footer stuff here
- or download this
if ($page eq 'list_products') {
list_products();
...
sub list_products {
print '...';
}
- or download this
%pages = (
list_products => \&list_products,
...
sub list_products {
print '...';
}
- or download this
use base qw(CGI::Application);
...
my $self = shift;
return '...';
}
- or download this
use base qw(CGI::Application);
use CGI::Application::Plugin::AutoRunmode;
...
my $self = shift;
return '...';
}