[Bast-commits] r8716 - DBIx-Class/0.08/trunk/lib/DBIx/Class/Manual

rafl at dev.catalyst.perl.org rafl at dev.catalyst.perl.org
Mon Feb 15 14:58:09 GMT 2010


Author: rafl
Date: 2010-02-15 14:58:09 +0000 (Mon, 15 Feb 2010)
New Revision: 8716

Modified:
   DBIx-Class/0.08/trunk/lib/DBIx/Class/Manual/Cookbook.pod
Log:
Make some cookbook code compile.

Modified: DBIx-Class/0.08/trunk/lib/DBIx/Class/Manual/Cookbook.pod
===================================================================
--- DBIx-Class/0.08/trunk/lib/DBIx/Class/Manual/Cookbook.pod	2010-02-15 14:56:06 UTC (rev 8715)
+++ DBIx-Class/0.08/trunk/lib/DBIx/Class/Manual/Cookbook.pod	2010-02-15 14:58:09 UTC (rev 8716)
@@ -771,7 +771,7 @@
 
     package My::App::Schema;
 
-    use base DBIx::Class::Schema;
+    use base 'DBIx::Class::Schema';
 
     # load subclassed classes from My::App::Schema::Result/ResultSet
     __PACKAGE__->load_namespaces;
@@ -791,7 +791,7 @@
 
     use strict;
     use warnings;
-    use base My::Shared::Model::Result::Baz;
+    use base 'My::Shared::Model::Result::Baz';
 
     # WARNING: Make sure you call table() again in your subclass,
     # otherwise DBIx::Class::ResultSourceProxy::Table will not be called




More information about the Bast-commits mailing list