summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-09-23 01:39:23 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-09-23 01:39:23 +0000
commit2b336d574a67def1a543951ad2cebeef42c08aea (patch)
tree8e478421f56ffd8aa6794a7c4295e674daf902d4 /pod
parent95883bf30d6fc6c143368c6f07aea00e33c76a2b (diff)
parent3da4a4041c2dd401ef4ab882068e7b1680dc25bd (diff)
downloadperl-2b336d574a67def1a543951ad2cebeef42c08aea.tar.gz
integrate maint-5.005 changes (except conflicting change#1794)
p4raw-link: @1794 on //depot/maint-5.005/perl: 3da4a4041c2dd401ef4ab882068e7b1680dc25bd p4raw-id: //depot/perl@1798
Diffstat (limited to 'pod')
-rw-r--r--pod/perlfunc.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index e62532e0ce..9cab569aa6 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -1887,7 +1887,7 @@ or how about sorted by key:
print $key, '=', $ENV{$key}, "\n";
}
-To sort an array by value, you'll need to use a C<sort()> function.
+To sort a hash by value, you'll need to use a C<sort()> function.
Here's a descending numeric sort of a hash by its values:
foreach $key (sort { $hash{$b} <=> $hash{$a} } keys %hash) {