X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FScript%2FCGI.pm;h=e05fffb3381342223d89bf39732acaccc86757ca;hb=cedb28e88e0c62feee5d99ea4f2ed1813a858f5e;hp=c37dfdcbd4b33a561d7d27e1be9474592b466868;hpb=3a8c155fa0077e949f68f29fbe4b835d5484a2c9;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Script/CGI.pm b/lib/Catalyst/Script/CGI.pm index c37dfdc..e05fffb 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; +sub _plack_engine_name { 'CGI' } + with 'Catalyst::ScriptRole'; __PACKAGE__->meta->make_immutable; +1; =head1 NAME @@ -13,12 +15,19 @@ Catalyst::Script::CGI - The CGI Catalyst Script =head1 SYNOPSIS -See L. + myapp_cgi.pl [options] + + Options: + -? --help display this help and exits =head1 DESCRIPTION This is a script to run the Catalyst engine specialized for the CGI environment. +=head1 SEE ALSO + +L + =head1 AUTHORS Catalyst Contributors, see Catalyst.pm