GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
CGI::Maypole(3) User Contributed Perl Documentation CGI::Maypole(3)

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 Maypole::Application.

This module requires CGI::Simple which you will have to install yourself via CPAN or manually.

run
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:
get_request
parse_location
warn
parse_args
redirect_request
get_protocol
send_output
Generates output (using "collect_output") and prints it.
collect_output
Gathers headers and output together into a string and returns it.

Splitting this code out of "send_output" supports Maypole::HTTPD::Frontend.

get_template_root

CGI::Simple

Dave Ranney "dave@sialia.com"

Simon Cozens "simon@cpan.org"

2007-10-17 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.