From: Sebastian Riedel Date: Mon, 21 Mar 2005 23:46:01 +0000 (+0000) Subject: fixed helper X-Git-Tag: 5.7099_04~1744 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e4b4c2b6da379eed2aa44e828054924723e251bb;p=catagits%2FCatalyst-Runtime.git fixed helper --- diff --git a/lib/Catalyst/Helper.pm b/lib/Catalyst/Helper.pm index 52b35a0..9f6b765 100644 --- a/lib/Catalyst/Helper.pm +++ b/lib/Catalyst/Helper.pm @@ -325,6 +325,8 @@ sub _mk_cgi { $self->mk_file( "$script\/nph-cgi.pl", <<"EOF"); $Config{startperl} -w +BEGIN { \$ENV{CATALYST_ENGINE} = 'CGI' } + use strict; use FindBin; use lib "\$FindBin::Bin/../lib";