X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FScript%2FCGI.pm;h=4eb9be8af158ebfbcc76eadbe67af8f39e7f51ff;hp=7e090d476f6803db7debeff0e17a62c516105dbb;hb=eefc03e12890c06c9a76d78b4d68e3b2ad781328;hpb=d3082facb5273f9970121638c0385ecfc0f7b090 diff --git a/lib/Catalyst/Script/CGI.pm b/lib/Catalyst/Script/CGI.pm index 7e090d4..4eb9be8 100644 --- a/lib/Catalyst/Script/CGI.pm +++ b/lib/Catalyst/Script/CGI.pm @@ -1,11 +1,13 @@ package Catalyst::Script::CGI; use Moose; -BEGIN { $ENV{CATALYST_ENGINE} ||= 'CGI' } -use namespace::autoclean; +use namespace::clean -except => [ 'meta' ]; + +sub _plack_engine_name { 'CGI' } with 'Catalyst::ScriptRole'; __PACKAGE__->meta->make_immutable; +1; =head1 NAME @@ -13,11 +15,18 @@ Catalyst::Script::CGI - The CGI Catalyst Script =head1 SYNOPSIS -See L. + myapp_cgi.pl [options] + + Options: + -? --help display this help and exits =head1 DESCRIPTION -FIXME +This is a script to run the Catalyst engine specialized for the CGI environment. + +=head1 SEE ALSO + +L =head1 AUTHORS