diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-09-23 01:39:23 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-09-23 01:39:23 +0000 |
commit | 2b336d574a67def1a543951ad2cebeef42c08aea (patch) | |
tree | 8e478421f56ffd8aa6794a7c4295e674daf902d4 /pod | |
parent | 95883bf30d6fc6c143368c6f07aea00e33c76a2b (diff) | |
parent | 3da4a4041c2dd401ef4ab882068e7b1680dc25bd (diff) | |
download | perl-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.pod | 2 |
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) { |