summaryrefslogtreecommitdiff
path: root/pod/perlfunc.pod
diff options
context:
space:
mode:
authorAndy Lester <andy@petdance.com>2023-01-13 22:54:12 -0600
committerYves Orton <demerphq@gmail.com>2023-01-14 12:15:47 +0100
commitcafd81a74c4da0b4d981b1c40f72dfa428b6189a (patch)
treefeafa0be2fb9c74209ef3e77dd738b933fac95ee /pod/perlfunc.pod
parent54b3381a00e201e4524d82138e335c8c8c4c37f5 (diff)
downloadperl-cafd81a74c4da0b4d981b1c40f72dfa428b6189a.tar.gz
Correct sort docs about value of the sort func.
Diffstat (limited to 'pod/perlfunc.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 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