|
NAMEMaypole::Application - Universal Maypole FrontendSYNOPSISuse Maypole::Application; use Maypole::Application qw(Config::YAML); use Maypole::Application qw(-Debug Config::YAML -Setup); use Maypole::Application qw(Config::YAML Loader -Setup -Debug); use Maypole::Application qw(-Debug2 MasonX AutoUntaint); DESCRIPTIONThis is a universal frontend for mod_perl1, mod_perl2, HTML::Mason and CGI.Automatically determines the appropriate frontend for your environment (unless you want to use MasonX::Maypole, in which case include "MasonX" in the arguments). Loads plugins supplied in the "use" statement. Responds to flags supplied in the "use" statement. Initializes the application's configuration object. You can omit the Maypole::Plugin:: prefix from plugins. So Maypole::Plugin::Config::YAML becomes Config::YAML. use Maypole::Application qw(Config::YAML); You can also set special flags like -Setup, -Debug and -Init. use Maypole::Application qw(-Debug Config::YAML -Setup); The position of plugins in the chain is important, because they are loaded/executed in the same order they appear. FRONTENDUnder mod_perl (1 or 2), selects Apache::MVC.Otherwise, selects CGI::Maypole. If "MasonX" is specified, sets MasonX::Maypole as the frontend. This currently also requires a mod_perl environment. FLAGS
AUTHORSebastian Riedel, "sri@oook.de" Idea by Marcus Ramberg, "marcus@thefeed.no"LICENSEYou may distribute this code under the same terms as Perl itself.
Visit the GSP FreeBSD Man Page Interface. |