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

index 1a05b31..743e150 100644 (file)
@@ -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 {