CGI::Maypole - CGI-based front-end to Maypole |
CGI::Maypole - CGI-based front-end to Maypole
package BeerDB; use Maypole::Application;
## example beer.cgi:
#!/usr/bin/perl -w use strict; use BeerDB; BeerDB->run();
Now to access the beer database, type this URL into your browser: http://your.site/cgi-bin/beer.cgi/frontpage
NOTE: this Maypole frontend requires additional modules that won't be installed or included with Maypole. Please see below.
This is a CGI platform driver for Maypole. Your application can inherit from CGI::Maypole directly, but it is recommended that you use the Maypole::Application manpage.
This module requires CGI::Simple which you will have to install yourself via CPAN or manually.
This class overrides a set of methods in the base Maypole class to provide it's functionality. See Maypole for these:
collect_output
) and prints it.
Splitting this code out of send_output
supports the Maypole::HTTPD::Frontend manpage.
CGI::Simple
Dave Ranney dave@sialia.com
Simon Cozens simon@cpan.org
CGI::Maypole - CGI-based front-end to Maypole |