X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FEngine%2FCGI.pm;h=e682f6e818a1db2e961c17edd98c490d163ba434;hb=9a33da6aa4eb69de77c36f572e875a2529a39eef;hp=44d190323d188c2302e295946630e56f375b7119;hpb=7833fdfca73ff8a03769523ec85c2343a3994360;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Engine/CGI.pm b/lib/Catalyst/Engine/CGI.pm index 44d1903..e682f6e 100644 --- a/lib/Catalyst/Engine/CGI.pm +++ b/lib/Catalyst/Engine/CGI.pm @@ -18,12 +18,27 @@ Catalyst::Engine::CGI - The CGI Engine =head1 SYNOPSIS + #!/usr/bin/perl -w + + use strict; + use lib '/path/to/MyApp/lib'; + use MyApp; + + MyApp->run; + See L. =head1 DESCRIPTION This is the CGI engine for Catalyst. +The script shown above must be designated as a "Non-parsed Headers" +script to function properly. +To do this in Apache name the script starting with C. + +The performance of this way of using Catalyst is not expected to be +useful in production applications, but it may be helpful for development. + =head2 METHODS =head3 run @@ -166,4 +181,3 @@ the same terms as Perl itself. =cut 1; -## Please see file perltidy.ERR