From: Florian Ragwitz Date: Mon, 15 Feb 2010 14:58:09 +0000 (+0000) Subject: Make some cookbook code compile. X-Git-Tag: v0.08120~37 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7d8f64b992d1de9fd3eef9f1d5729ca74153922f;p=dbsrgits%2FDBIx-Class.git Make some cookbook code compile. --- diff --git a/lib/DBIx/Class/Manual/Cookbook.pod b/lib/DBIx/Class/Manual/Cookbook.pod index 3992111..7fa60d8 100644 --- a/lib/DBIx/Class/Manual/Cookbook.pod +++ b/lib/DBIx/Class/Manual/Cookbook.pod @@ -771,7 +771,7 @@ B 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 @@ B 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