diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-12-21 22:29:46 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-12-22 13:31:23 -0800 |
commit | 86d8ec8a5af09c4c9940c471298b7a48e6a46482 (patch) | |
tree | 103f3d03f28ae557a813363a60ef1f330dc78a10 /dist | |
parent | 94250aee408add483c1bb5d139839eb6510650b2 (diff) | |
download | perl-86d8ec8a5af09c4c9940c471298b7a48e6a46482.tar.gz |
Deparse.pm: Uncomment version code
Diffstat (limited to 'dist')
-rw-r--r-- | dist/B-Deparse/Deparse.pm | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/dist/B-Deparse/Deparse.pm b/dist/B-Deparse/Deparse.pm index b33a407273..a48a76a786 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__"); } |