summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <leonerd@leonerd.org.uk>2022-03-08 16:48:16 +0000
committerPaul Evans <leonerd@leonerd.org.uk>2022-03-08 20:21:42 +0000
commit7fd94585290b7c489f0886aa211d244510917d65 (patch)
tree0909cb5a8b4ec222bfc0928f7440bd958ba3217a /pod
parent4c58833d2762c61be37bd341dccda5f8d7ad8e6e (diff)
downloadperl-7fd94585290b7c489f0886aa211d244510917d65.tar.gz
Move sort's scalar context warning to new 'scalar' category
Diffstat (limited to 'pod')
-rw-r--r--pod/perldiag.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index e448d0f284..7737c0ecff 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -7215,7 +7215,7 @@ so is futile.
=item Useless use of sort in scalar context
-(W void) You used sort in scalar context, as in :
+(W scalar) You used sort in scalar context, as in :
my $x = sort @y;