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:
1d45ec2
)
Build perltoc.pod with pragmata sorted by name.
author
Nicholas Clark
<nick@ccl4.org>
Tue, 18 Jan 2011 11:10:41 +0000
(11:10 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Tue, 18 Jan 2011 11:10:41 +0000
(11:10 +0000)
Previously they were actually sorted by full pathname, which isn't logical.
I presume that this is an artefact of all pragmata being in lib/ when
pod/buildtoc was originally written.
pod/buildtoc
patch
|
blob
|
blame
|
history
diff --git
a/pod/buildtoc
b/pod/buildtoc
index
50fc892
..
aa80d15
100644
(file)
--- a/
pod/buildtoc
+++ b/
pod/buildtoc
@@
-351,7
+351,7
@@
EOPOD2B
EOPOD2B
- podset(
sort values %Pragmata
);
+ podset(
@Pragmata{ sort keys %Pragmata }
);
($_= <<"EOPOD2B") =~ s/^\t//gm && output($_);