summaryrefslogtreecommitdiff
path: root/pod/perldiag.pod
diff options
context:
space:
mode:
authorMike Guy <mjtg@cam.ac.uk>2002-01-11 18:36:33 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-01-12 00:02:05 +0000
commitb21befc10a2adba57c505b26af5b35adc507bf13 (patch)
tree50f1e043f96c86ac8aaa049456026dc79e1b0b09 /pod/perldiag.pod
parent0904bc86c896844c90e158fde0faac617014287e (diff)
downloadperl-b21befc10a2adba57c505b26af5b35adc507bf13.tar.gz
Correct misleading error message
Message-Id: <E16P6XZ-0005kA-00@draco.cus.cam.ac.uk> hash assignment -> anonymous hash p4raw-id: //depot/perl@14200
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r--pod/perldiag.pod5
1 files changed, 5 insertions, 0 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index 777b0dd80a..af78458acb 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -2370,6 +2370,11 @@ See also L<perlport> for writing portable code.
(W) The call to overload::constant contained an odd number of arguments.
The arguments should come in pairs.
+=item Odd number of elements in anonymous hash
+
+(W misc) You specified an odd number of elements to initialize a hash,
+which is odd, because hashes come in key/value pairs.
+
=item Odd number of elements in hash assignment
(W misc) You specified an odd number of elements to initialize a hash,