projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
use sub::name to fix compat with moose method modifiers
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
CDBICompat
/
Relationship.pm
diff --git
a/lib/DBIx/Class/CDBICompat/Relationship.pm
b/lib/DBIx/Class/CDBICompat/Relationship.pm
index
55fff10
..
880ffc2
100644
(file)
--- a/
lib/DBIx/Class/CDBICompat/Relationship.pm
+++ b/
lib/DBIx/Class/CDBICompat/Relationship.pm
@@
-3,7
+3,7
@@
package
use strict;
use warnings;
-
+use Sub::Name ();
=head1 NAME
@@
-36,7
+36,7
@@
for my $method (keys %method2key) {
};
no strict 'refs';
- *{$method} = $code;
+ *{$method} = Sub::Name::subname $method, $code;
}
1;