=head1 METHODS
+=cut
+
=head2 default
=cut
__makefile__
use inc::Module::Install;
-name('[% dir %]');
-abstract('Catalyst Application');
-author('[% author %]');
-version_from('[% path %]');
-license('perl');
+name '[% dir %]';
+all_from '[% path %]';
-include('ExtUtils::AutoInstall');
+requires Catalyst => '5.62';
-requires( Catalyst => '5.58' );
+catalyst;
-catalyst_files();
-
-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__
$ENV{CATALYST_DEBUG} = 1;
}
-use [% name %];
+# This is require instead of use so that the above environment
+# variables can be set at runtime.
+require [% name %];
[% name %]->run( $port, $host, {
argv => \@argv,