diff options
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r-- | pod/perldiag.pod | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 53354d1741..91455c9cd1 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -1760,6 +1760,15 @@ is better written as simply itself, perhaps preceded by a backslash for non-word characters. Doing it the way you did is not portable between ASCII and EBCDIC platforms. +=item Class attribute %s requires a value + +(F) You specified an attribute for a class that would require a value to +be passed in parentheses, but did not provide one. Remember that +whitespace is B<not> permitted between the attribute name and its value; +you must write this as + + class Example::Class :attr(VALUE) ... + =item class is experimental (S experimental::class) This warning is emitted if you use the C<class> @@ -7072,6 +7081,11 @@ in your Perl script (or eval) near the specified column. Perhaps you tried to run a compressed script, a binary program, or a directory as a Perl program. +=item Unrecognized class attribute %s + +(F) You attempted to add a named attribute to a C<class> definition, but +perl does not recognise the name of the requested attribute. + =item Unrecognized escape \%c in character class in regex; marked by S<<-- HERE> in m/%s/ |