X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FHelper.pm;h=ccf766fac0709b78079eca6ddde5d5677f3cece8;hb=2a276acbd489a885cd9f9ed539e3bcf1c84e794c;hp=6f0feb22c5fcfb576f17d626bbca71afd40bfb3b;hpb=ddb46924d609e98c91cbefa351b0de4f5433c97c;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Helper.pm b/lib/Catalyst/Helper.pm index 6f0feb2..ccf766f 100644 --- a/lib/Catalyst/Helper.pm +++ b/lib/Catalyst/Helper.pm @@ -8,7 +8,7 @@ use File::Path; use IO::File; use FindBin; use Template; -our $CATALYST_SCRIPT_GEN = 2; +use Catalyst; my %cache; @@ -61,7 +61,7 @@ sub mk_app { $self->{dir} = $name; $self->{dir} =~ s/\:\:/-/g; $self->{startperl} = $Config{startperl}; - $self->{scriptgen}=$CATALYST_SCRIPT_GEN; + $self->{scriptgen}=$Catalyst::CATALYST_SCRIPT_GEN; $self->{author}=$self->{author} = $ENV{'AUTHOR'} || @{[getpwuid($<)]}[6]; $self->_mk_dirs; @@ -447,7 +447,7 @@ __readme__ Run script/server.pl to test the application. __changes__ -This file documents the revision history for Perl extension $name. +This file documents the revision history for Perl extension [% name %]. 0.01 [% time %] - initial revision, generated by Catalyst