diff options
author | Andy Lester <andy@petdance.com> | 2023-01-13 22:54:12 -0600 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2023-01-14 12:15:47 +0100 |
commit | cafd81a74c4da0b4d981b1c40f72dfa428b6189a (patch) | |
tree | feafa0be2fb9c74209ef3e77dd738b933fac95ee /pod/perlfunc.pod | |
parent | 54b3381a00e201e4524d82138e335c8c8c4c37f5 (diff) | |
download | perl-cafd81a74c4da0b4d981b1c40f72dfa428b6189a.tar.gz |
Correct sort docs about value of the sort func.
Diffstat (limited to 'pod/perlfunc.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 5cbd3401b9..e6046b0bd4 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -7721,7 +7721,7 @@ undefined. If SUBNAME or BLOCK is omitted, L<C<sort>|/sort SUBNAME LIST>s in standard string comparison order. If SUBNAME is specified, it gives the name of a subroutine -that returns an integer less than, equal to, or greater than C<0>, +that returns a numeric value less than, equal to, or greater than C<0>, depending on how the elements of the list are to be ordered. (The C<< <=> >> and C<cmp> operators are extremely useful in such routines.) SUBNAME may be a scalar variable name (unsubscripted), in which case |