projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Merge 'trunk' into 'cdbicompat_integration'
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
Manual
/
Cookbook.pod
diff --git
a/lib/DBIx/Class/Manual/Cookbook.pod
b/lib/DBIx/Class/Manual/Cookbook.pod
index
9a96f34
..
f04b15a
100644
(file)
--- a/
lib/DBIx/Class/Manual/Cookbook.pod
+++ b/
lib/DBIx/Class/Manual/Cookbook.pod
@@
-600,7
+600,7
@@
It's as simple as overriding the C<new> method. Note the use of
C<next::method>.
sub new {
- my ( $class, $attrs ) = @_;
+ my ( $self, $attrs ) = @_;
$attrs->{foo} = 'bar' unless defined $attrs->{foo};