Deparse.pm: Uncomment version code
authorFather Chrysostomos <sprout@cpan.org>
Thu, 22 Dec 2011 06:29:46 +0000 (22:29 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 22 Dec 2011 21:31:23 +0000 (13:31 -0800)
dist/B-Deparse/Deparse.pm

index b33a407..a48a76a 100644 (file)
@@ -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__");
            }