[Catalyst-commits] r10147 - Catalyst-Devel/1.00/trunk/lib/Catalyst

dandv at dev.catalyst.perl.org dandv at dev.catalyst.perl.org
Thu May 14 01:43:54 GMT 2009


Author: dandv
Date: 2009-05-14 01:43:53 +0000 (Thu, 14 May 2009)
New Revision: 10147

Modified:
   Catalyst-Devel/1.00/trunk/lib/Catalyst/Helper.pm
Log:
Added shebang line to .t files and Makefile.PL

Modified: Catalyst-Devel/1.00/trunk/lib/Catalyst/Helper.pm
===================================================================
--- Catalyst-Devel/1.00/trunk/lib/Catalyst/Helper.pm	2009-05-14 01:42:04 UTC (rev 10146)
+++ Catalyst-Devel/1.00/trunk/lib/Catalyst/Helper.pm	2009-05-14 01:43:53 UTC (rev 10147)
@@ -770,6 +770,7 @@
 
 1;
 __makefile__
+[% startperl %]
 # IMPORTANT: if you delete this file your app will not work as
 # expected.  You have been warned.
 use inc::Module::Install;
@@ -790,8 +791,8 @@
 auto_install;
 WriteAll;
 __config__
-# rename this file to [% name %].yml and put a : in front of "name" if
-# you want to use yaml like in old versions of Catalyst
+# rename this file to [% name %].yml and put a ':' in front of 'name' if
+# you want to use YAML like in old versions of Catalyst
 name [% name %]
 __readme__
 Run script/[% appprefix %]_server.pl to test the application.
@@ -801,6 +802,7 @@
 0.01  [% time %]
         - initial revision, generated by Catalyst
 __apptest__
+[% startperl %]
 use strict;
 use warnings;
 use Test::More tests => 2;
@@ -809,6 +811,7 @@
 
 ok( request('/')->is_success, 'Request should succeed' );
 __podtest__
+[% startperl %]
 use strict;
 use warnings;
 use Test::More;
@@ -819,6 +822,7 @@
 
 all_pod_files_ok();
 __podcoveragetest__
+[% startperl %]
 use strict;
 use warnings;
 use Test::More;




More information about the Catalyst-commits mailing list