X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FHelper.pm;h=49122a4c058fe52120c66ecaf458596e35b18c89;hb=775878acfe0ae20a31872d7288f6e817144c37ac;hp=421a69efdec535f3f354d2aa7b84a91f4a796084;hpb=2b999e32f1f0411d02f34346a334179e6d066e95;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Helper.pm b/lib/Catalyst/Helper.pm index 421a69e..49122a4 100644 --- a/lib/Catalyst/Helper.pm +++ b/lib/Catalyst/Helper.pm @@ -555,6 +555,8 @@ Catalyst based application. =head1 METHODS +=cut + =head2 default =cut @@ -598,21 +600,16 @@ it under the same terms as Perl itself. __makefile__ use inc::Module::Install; -name('[% dir %]'); -abstract('Catalyst Application'); -author('[% author %]'); -version_from('[% path %]'); -license('perl'); - -include('ExtUtils::AutoInstall'); +name '[% dir %]'; +all_from '[% path %]'; -requires( Catalyst => '5.60' ); +requires Catalyst => '5.62'; -catalyst_files(); +catalyst; -install_script( glob('script/*.pl') ); -auto_install(); -&WriteAll; +install_script glob('script/*.pl'); +auto_install; +WriteAll; __readme__ Run script/[% appprefix %]_server.pl to test the application. __changes__ @@ -803,8 +800,8 @@ if ( $debug ) { $ENV{CATALYST_DEBUG} = 1; } -# This is require instead of use so that the engine may be -# changed above for Restarter support. +# This is require instead of use so that the above environment +# variables can be set at runtime. require [% name %]; [% name %]->run( $port, $host, {