CGI::Maypole - CGI-based front-end to Maypole
## example beer.cgi:
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 Maypole::Application.
This module requires CGI::Simple which you will have to install yourself via CPAN or manually.
Call this from your CGI script to start the Maypole application.
This class overrides a set of methods in the base Maypole class to provide it's functionality. See Maypole for these:
Generates output (using collect_output) and prints it.
Gathers headers and output together into a string and returns it.
Splitting this code out of send_output supports Maypole::HTTPD::Frontend.
Dave Ranney email@example.com
Simon Cozens firstname.lastname@example.org
To install Maypole, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.