From: Father Chrysostomos Date: Thu, 22 Dec 2011 06:29:46 +0000 (-0800) Subject: Deparse.pm: Uncomment version code X-Git-Tag: accepted/trunk/20130322.191538~1585 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=86d8ec8a5af09c4c9940c471298b7a48e6a46482;p=platform%2Fupstream%2Fperl.git Deparse.pm: Uncomment version code --- diff --git a/dist/B-Deparse/Deparse.pm b/dist/B-Deparse/Deparse.pm index b33a407..a48a76a 100644 --- a/dist/B-Deparse/Deparse.pm +++ b/dist/B-Deparse/Deparse.pm @@ -3910,14 +3910,12 @@ sub const { return "{" . join(", ", @elts) . "}"; } elsif (class($ref) eq "CV") { BEGIN { -# Commented out until after 5.15.6 -# if ($] > 5.0150051) { + if ($] > 5.0150051) { require overloading; unimport overloading; -# } + } } - # Remove the 1|| after 5.15.6 - if ((1||$] > 5.0150051) && $self->{curcv} && + if ($] > 5.0150051 && $self->{curcv} && $self->{curcv}->object_2svref == $ref->object_2svref) { return $self->keyword("__SUB__"); }