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=409ce5a87a75ca667861a431dd780b7760bebdd0;hp=1a8f37c6c2c2c877277b40b20b00b066a66cac75;hb=66294129a6520edc031aa7a43fc9bdfce669af15;hpb=6890e59891b99d9b98973c9a37ca6022134e0ff5 diff --git a/lib/Catalyst/Engine/CGI.pm b/lib/Catalyst/Engine/CGI.pm index 1a8f37c..409ce5a 100644 --- a/lib/Catalyst/Engine/CGI.pm +++ b/lib/Catalyst/Engine/CGI.pm @@ -5,6 +5,22 @@ use base 'Catalyst::Engine::CGI::Base'; use CGI; +our @compile = qw[ + delete + http + new_MultipartBuffer + param + parse_keywordlist + read_from_client + read_multipart + tmpFileName + uploadInfo + url_param + user_agent +]; + +CGI->compile(@compile); + __PACKAGE__->mk_accessors('cgi'); =head1 NAME @@ -29,15 +45,7 @@ appropriate engine module. =head1 DESCRIPTION This is the Catalyst engine specialized for the CGI environment (using the -C and C modules). Normally Catalyst will select the -appropriate engine according to the environment that it detects, however you -can force Catalyst to use the CGI engine by specifying the following in your -application module: - - use Catalyst qw(-Engine=CGI); - -The performance of this way of using Catalyst is not expected to be -useful in production applications, but it may be helpful for development. +C and C modules). =head1 METHODS