projects
/
dbsrgits/DBIx-Class-Historic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fix up txn_begin and the ping_count test
[dbsrgits/DBIx-Class-Historic.git]
/
lib
/
DBIx
/
Class
/
CDBICompat
/
Relationship.pm
diff --git
a/lib/DBIx/Class/CDBICompat/Relationship.pm
b/lib/DBIx/Class/CDBICompat/Relationship.pm
index
5d71924
..
b0c10fa
100644
(file)
--- a/
lib/DBIx/Class/CDBICompat/Relationship.pm
+++ b/
lib/DBIx/Class/CDBICompat/Relationship.pm
@@
-25,7
+25,7
@@
my %method2key = (
sub new {
my($class, $args) = @_;
-
+
return bless $args, $class;
}
@@
-34,7
+34,7
@@
for my $method (keys %method2key) {
my $code = sub {
$_[0]->{$key};
};
-
+
no strict 'refs';
*{$method} = Sub::Name::subname $method, $code;
}