summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-01-18 11:10:41 +0000
committerNicholas Clark <nick@ccl4.org>2011-01-18 11:10:41 +0000
commit8254cbf193c939338449097a80163197fc755150 (patch)
treee114e320014e6c4adb387635023e09a9f3578512 /pod
parent1d45ec279e4e105512a2803e3d0bd974a151a0f6 (diff)
downloadperl-8254cbf193c939338449097a80163197fc755150.tar.gz
Build perltoc.pod with pragmata sorted by name.
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.
Diffstat (limited to 'pod')
-rw-r--r--pod/buildtoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/buildtoc b/pod/buildtoc
index 50fc892694..aa80d15833 100644
--- 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($_);