[Jifty-commit] r674 -

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Wed Mar 8 00:44:17 EST 2006


Author: jesse
Date: Wed Mar  8 00:44:16 2006
New Revision: 674

Modified:
   /   (props changed)
   jifty/trunk/lib/Jifty/Script/Model.pm

Log:
 r25807 at truegrounds:  jesse | 2006-03-07 21:14:18 -0800
 * when we create models, "use warnings; and use strict;"


Modified: jifty/trunk/lib/Jifty/Script/Model.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Script/Model.pm	(original)
+++ jifty/trunk/lib/Jifty/Script/Model.pm	Wed Mar  8 00:44:16 2006
@@ -64,6 +64,9 @@
     my $appclass_path = File::Spec->catfile(split (/::/, $appclass));
 
     my $modelFile = <<"EOT";
+use strict;
+use warnings;
+
 package @{[$appclass]}::Model::@{[$model]}::Schema;
 use Jifty::DBI::Schema;
 


More information about the Jifty-commit mailing list