diff options
Diffstat (limited to 'pod/perlfunc.pod')
-rw-r--r-- | pod/perlfunc.pod | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index d6dcf4983f..10120edc0f 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -4503,8 +4503,7 @@ sockets but not socketpair. =item sort LIST In list context, this sorts the LIST and returns the sorted list value. -In scalar context, sort doesn't do anything and an undefined value is -returned. +In scalar context, the behaviour of C<sort()> is undefined. If SUBNAME or BLOCK is omitted, C<sort>s in standard string comparison order. If SUBNAME is specified, it gives the name of a subroutine |