summaryrefslogtreecommitdiff
path: root/autodoc.pl
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-01-20 13:20:50 +0000
committerNicholas Clark <nick@ccl4.org>2005-01-20 13:20:50 +0000
commit22469dce3421188b4dd09799e1b6e780001201ca (patch)
tree5e66b9a485b8a7c07007aa93ffd773a9145e7e51 /autodoc.pl
parent77c9267e79d87625158fdecaa27a5ce308c517ba (diff)
downloadperl-22469dce3421188b4dd09799e1b6e780001201ca.tar.gz
A little more determinacy in our sorting
p4raw-id: //depot/perl@23835
Diffstat (limited to 'autodoc.pl')
-rw-r--r--autodoc.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/autodoc.pl b/autodoc.pl
index c10640835d..6126f9ff65 100644
--- a/autodoc.pl
+++ b/autodoc.pl
@@ -220,7 +220,8 @@ my $key;
for $key (sort { uc($a) cmp uc($b) || $a cmp $b } keys %apidocs) {
my $section = $apidocs{$key};
print DOC "\n=head1 $key\n\n=over 8\n\n";
- for my $key (sort { uc($a) cmp uc($b); } keys %$section) {
+ # Again, fallback for determinacy
+ for my $key (sort { uc($a) cmp uc($b) || $a cmp $b } keys %$section) {
docout(\*DOC, $key, $section->{$key});
}
print DOC "\n=back\n";