X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FEngine%2FCGI.pm;h=e682f6e818a1db2e961c17edd98c490d163ba434;hp=6180550f575b557c242a0cff07c4a7315c7e2880;hb=9a33da6aa4eb69de77c36f572e875a2529a39eef;hpb=f1d0b7ea31572758650de7a075852fce734e3b6b diff --git a/lib/Catalyst/Engine/CGI.pm b/lib/Catalyst/Engine/CGI.pm index 6180550..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