From: Tomas Doran Date: Thu, 26 Nov 2009 23:40:27 +0000 (+0000) Subject: Pass app name into constructor X-Git-Tag: 5.80014_02~22 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=dd234b2287734900ba67fcff33222ef1444f603c;hp=4cb211411c158181d7506fd45d94017bd81c7b73 Pass app name into constructor --- diff --git a/script/catalyst.pl b/script/catalyst.pl index e9083cc..ef9771c 100755 --- a/script/catalyst.pl +++ b/script/catalyst.pl @@ -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;