X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FHelper.pm;h=75a9a37bcfb9b226f3769a0adad7ac9a89211f39;hb=c93c671be3cf68c817a4c69841657999002480b1;hp=37bd5ea96c80961dd16fd2670eecd850455273c9;hpb=43c9d436b1cc5d49204f453742de39c9456ab23c;p=catagits%2FCatalyst-Devel.git diff --git a/lib/Catalyst/Helper.pm b/lib/Catalyst/Helper.pm index 37bd5ea..75a9a37 100644 --- a/lib/Catalyst/Helper.pm +++ b/lib/Catalyst/Helper.pm @@ -1,6 +1,7 @@ package Catalyst::Helper; use strict; +use warnings; use base 'Class::Accessor::Fast'; use Config; use File::Spec; @@ -545,6 +546,8 @@ package [% name %]; use strict; use warnings; +use Catalyst::Runtime '5.70'; + # # Set flags and add plugins for the application # @@ -732,6 +735,7 @@ __cgi__ BEGIN { $ENV{CATALYST_ENGINE} ||= 'CGI' } use strict; +use warnings; use FindBin; use lib "$FindBin::Bin/../lib"; use [% name %]; @@ -770,6 +774,7 @@ __fastcgi__ BEGIN { $ENV{CATALYST_ENGINE} ||= 'FastCGI' } use strict; +use warnings; use Getopt::Long; use Pod::Usage; use FindBin; @@ -850,6 +855,7 @@ BEGIN { } use strict; +use warnings; use Getopt::Long; use Pod::Usage; use FindBin; @@ -956,6 +962,7 @@ __test__ [% startperl %] use strict; +use warnings; use Getopt::Long; use Pod::Usage; use FindBin; @@ -1011,6 +1018,7 @@ __create__ [% startperl %] use strict; +use warnings; use Getopt::Long; use Pod::Usage; use Catalyst::Helper;