This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11eb54f
)
In buildtoc, the module de-duplication logic applies equally to pragmata.
author
Nicholas Clark
<nick@ccl4.org>
Fri, 21 Jan 2011 11:41:42 +0000
(11:41 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Fri, 21 Jan 2011 11:41:42 +0000
(11:41 +0000)
pod/buildtoc
patch
|
blob
|
blame
|
history
diff --git
a/pod/buildtoc
b/pod/buildtoc
index
763f339
..
44f924c
100644
(file)
--- a/
pod/buildtoc
+++ b/
pod/buildtoc
@@
-304,12
+304,11
@@
close MASTER;
$name =~ s-.*?/lib/--;
$name =~ s-/-::-g;
$name =~ s/(\w+)::\1/$1/;
+ next if $done{$name}++;
+
if ($name =~ /^[a-z]/) {
$Pragmata{$name} = $_;
} else {
- if ($done{$name}++) {
- next;
- }
$Modules{$name} = $_;
}
}