summaryrefslogtreecommitdiff
path: root/pod/perldiag.pod
diff options
context:
space:
mode:
authorRick Delaney <rick@consumercontact.com>2004-08-13 15:54:12 -0400
committerDave Mitchell <davem@fdisolutions.com>2004-09-01 23:41:25 +0000
commite75d1f1083177907de70add76a22bf9ee81d8f6c (patch)
tree7ef34230ae5c738d1a368f950a30277d59fe0dfd /pod/perldiag.pod
parent094236a2e4129d7c0d8623e0820a0eedb9fe83ba (diff)
downloadperl-e75d1f1083177907de70add76a22bf9ee81d8f6c.tar.gz
fields.pm lost compile-time benefit
Message-Id: <20040813235412.GB12980@biff.bort.ca> restore the compile-time field checking for my Dog $spot; $spot->{'walkies'}; that was lost when pseudo-hashes were removed p4raw-id: //depot/perl@23256
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r--pod/perldiag.pod6
1 files changed, 6 insertions, 0 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index 1b4ab09c1a..c56f5dd3fd 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -2449,6 +2449,12 @@ immediately after the switch, without intervening spaces.
(F) The indicated command line switch needs a mandatory argument, but
you haven't specified one.
+=item No such class field "%s" in variable %s of type %s
+
+(F) You tried to access a key from a hash through the indicated typed variable
+but that key is not allowed by the package of the same type. The indicated
+package has restricted the set of allowed keys using the L<fields> pragma.
+
=item No such class %s
(F) You provided a class qualifier in a "my" or "our" declaration, but