X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=script%2Fcatalyst.pl;h=e2574ad2962ec19924a0d17cb6fc16df4be45663;hp=e9083cc28d06bed7ecf4e4f4d97376454b3712a0;hb=HEAD;hpb=74cd30870630f5e7b43dd7768a2c3c13355f6019 diff --git a/script/catalyst.pl b/script/catalyst.pl index e9083cc..e2574ad 100755 --- a/script/catalyst.pl +++ b/script/catalyst.pl @@ -14,7 +14,7 @@ part of the Catalyst-Devel distribution. Please install this via a vendor package or by running one of - perl -MCPAN -e 'install Catalyst::Devel' - perl -MCPANPLUS -e 'install Catalyst::Devel' + cpanm Catalyst::Devel END } @@ -41,9 +41,10 @@ my $helper = Catalyst::Helper->new( '.newfiles' => !$force, 'makefile' => $makefile, 'scripts' => $scripts, - 'short' => 0, # FIXME - to be removed. + name => $ARGV[0], } ); +# Pass $ARGV[0] for compatibility with old ::Devel pod2usage(1) unless $helper->mk_app( $ARGV[0] ); 1; @@ -141,7 +142,7 @@ runs the generated application as a FastCGI script =item C -runs an action of the generated application from the comand line. +runs an action of the generated application from the command line. =back