From: Matt S Trout Date: Sun, 20 Nov 2005 02:29:04 +0000 (+0000) Subject: Dumped anti-NEXT-breakage hack in CDBICompat stringify X-Git-Tag: v0.05005~166^2~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=37df4bfe823e6129c9d6c5b86aee5bfa19d00c0b;p=dbsrgits%2FDBIx-Class.git Dumped anti-NEXT-breakage hack in CDBICompat stringify --- diff --git a/lib/DBIx/Class/CDBICompat/Stringify.pm b/lib/DBIx/Class/CDBICompat/Stringify.pm index 1a05b31..743e150 100644 --- 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 {