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:
894e98a
)
Deparse: remove special casing for main stash
author
Father Chrysostomos
<sprout@cpan.org>
Fri, 23 Dec 2011 16:43:22 +0000
(08:43 -0800)
committer
Father Chrysostomos
<sprout@cpan.org>
Fri, 23 Dec 2011 20:58:22 +0000
(12:58 -0800)
This was to prevent infinite recursion, but the previous commit
added a more general mechanism, rendering this redundant.
dist/B-Deparse/Deparse.pm
patch
|
blob
|
history
diff --git
a/dist/B-Deparse/Deparse.pm
b/dist/B-Deparse/Deparse.pm
index
31fb376
..
d68da12
100644
(file)
--- a/
dist/B-Deparse/Deparse.pm
+++ b/
dist/B-Deparse/Deparse.pm
@@
-522,9
+522,7
@@
sub stash_subs {
$self->todo($cv, 1);
}
if (class($val->HV) ne "SPECIAL" && $key =~ /::$/) {
- $self->stash_subs($pack . $key, $seen)
- unless $pack eq '' && $key eq 'main::';
- # avoid infinite recursion
+ $self->stash_subs($pack . $key, $seen);
}
}
}