projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94250ae
)
Deparse.pm: Uncomment version code
author
Father Chrysostomos
<sprout@cpan.org>
Thu, 22 Dec 2011 06:29:46 +0000
(22:29 -0800)
committer
Father Chrysostomos
<sprout@cpan.org>
Thu, 22 Dec 2011 21:31:23 +0000
(13:31 -0800)
dist/B-Deparse/Deparse.pm
patch
|
blob
|
history
diff --git
a/dist/B-Deparse/Deparse.pm
b/dist/B-Deparse/Deparse.pm
index
b33a407
..
a48a76a
100644
(file)
--- 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__");
}