[Catalyst-commits] r11357 - in branches/Catalyst-Model-DBI/theory: . lib/Catalyst/Model

theory at dev.catalyst.perl.org theory at dev.catalyst.perl.org
Sat Sep 12 20:53:36 GMT 2009


Author: theory
Date: 2009-09-12 20:53:35 +0000 (Sat, 12 Sep 2009)
New Revision: 11357

Modified:
   branches/Catalyst-Model-DBI/theory/Changes
   branches/Catalyst-Model-DBI/theory/lib/Catalyst/Model/DBI.pm
Log:
Added `use warnings;` and switched from `base` to `parent` like the rest of
Catalyst.



Modified: branches/Catalyst-Model-DBI/theory/Changes
===================================================================
--- branches/Catalyst-Model-DBI/theory/Changes	2009-09-12 20:52:16 UTC (rev 11356)
+++ branches/Catalyst-Model-DBI/theory/Changes	2009-09-12 20:53:35 UTC (rev 11357)
@@ -2,6 +2,8 @@
     - Switch from NEXT to next::method
     - modified connect() to log failed connections as errors and to re-throw
       exceptions.
+    - Added `use warnings;` and switched from `base` to `parent` like the rest
+      of Catalyst.
 0.20  Sun Dec 07 17:36:00 2008 
 	- fixed issue: http://rt.cpan.org/Public/Bug/Display.html?id=38121
 	- fixed issue: http://rt.cpan.org/Public/Bug/Display.html?id=39884

Modified: branches/Catalyst-Model-DBI/theory/lib/Catalyst/Model/DBI.pm
===================================================================
--- branches/Catalyst-Model-DBI/theory/lib/Catalyst/Model/DBI.pm	2009-09-12 20:52:16 UTC (rev 11356)
+++ branches/Catalyst-Model-DBI/theory/lib/Catalyst/Model/DBI.pm	2009-09-12 20:53:35 UTC (rev 11357)
@@ -1,7 +1,8 @@
 package Catalyst::Model::DBI;
 
 use strict;
-use base 'Catalyst::Model';
+use warnings;
+use parent 'Catalyst::Model';
 use MRO::Compat;
 use DBI;
 




More information about the Catalyst-commits mailing list