projects
/
dbsrgits/DBIx-Class-Historic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
7ad7bb3
)
Dumped anti-NEXT-breakage hack in CDBICompat stringify
Matt S Trout [Sun, 20 Nov 2005 02:29:04 +0000 (
02:29
+0000)]
lib/DBIx/Class/CDBICompat/Stringify.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/CDBICompat/Stringify.pm
b/lib/DBIx/Class/CDBICompat/Stringify.pm
index
1a05b31
..
743e150
100644
(file)
--- a/
lib/DBIx/Class/CDBICompat/Stringify.pm
+++ b/
lib/DBIx/Class/CDBICompat/Stringify.pm
@@
-6,9
+6,7
@@
use warnings;
use Scalar::Util;
use overload
- '""' => sub {
- return Scalar::Util::refaddr($_[0]) if (caller)[0] eq 'NEXT';
- return shift->stringify_self; },
+ '""' => sub { return shift->stringify_self; },
fallback => 1;
sub stringify_self {