This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
perldiag.pod: Document overload’s invalid arg warning
[perl5.git]
/
pod
/
perldiag.pod
diff --git
a/pod/perldiag.pod
b/pod/perldiag.pod
index
fb4836c
..
544a9ed
100644
(file)
--- a/
pod/perldiag.pod
+++ b/
pod/perldiag.pod
@@
-614,6
+614,11
@@
be directly assigned to.
(S io) You tried to apply an encoding that did not exist to a filehandle,
either with open() or binmode().
(S io) You tried to apply an encoding that did not exist to a filehandle,
either with open() or binmode().
+=item Cannot set tied @DB::args
+
+(F) C<caller> tried to set C<@DB::args>, but found it tied. Tying C<@DB::args>
+is not supported. (Before this error was added, it used to crash.)
+
=item Cannot tie unreifiable array
(P) You somehow managed to call C<tie> on an array that does not
=item Cannot tie unreifiable array
(P) You somehow managed to call C<tie> on an array that does not
@@
-2613,7
+2618,7
@@
because it has already switched from integers to floating point when values
are too large for integers, and now even floating point is insufficient.
You may wish to switch to using L<Math::BigInt> explicitly.
are too large for integers, and now even floating point is insufficient.
You may wish to switch to using L<Math::BigInt> explicitly.
-=item lstat() on filehandle
%s
+=item lstat() on filehandle%s
(W io) You tried to do an lstat on a filehandle. What did you mean
by that? lstat() makes sense only on filenames. (Perl did a fstat()
(W io) You tried to do an lstat on a filehandle. What did you mean
by that? lstat() makes sense only on filenames. (Perl did a fstat()
@@
-3131,11
+3136,6
@@
your system.
(F) Configure didn't find anything resembling the setreuid() call for
your system.
(F) Configure didn't find anything resembling the setreuid() call for
your system.
-=item No %s specified for -%c
-
-(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
=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
@@
-3473,6
+3473,11
@@
the string being unpacked. See L<perlfunc/pack>.
the string being unpacked. The string being unpacked was also invalid
UTF-8. See L<perlfunc/pack>.
the string being unpacked. The string being unpacked was also invalid
UTF-8. See L<perlfunc/pack>.
+=item overload arg '%s' is invalid
+
+(W overload) The L<overload> pragma was passed an argument it did not
+recognize. Did you mistype an operator?
+
=item Overloaded dereference did not return a reference
(F) An object with an overloaded dereference operator was dereferenced,
=item Overloaded dereference did not return a reference
(F) An object with an overloaded dereference operator was dereferenced,
@@
-5231,6
+5236,11
@@
where the problem was discovered. See L<perlre>.
same length as the replacelist. See L<perlop> for more information
about the /d modifier.
same length as the replacelist. See L<perlop> for more information
about the /d modifier.
+=item Useless use of \E
+
+(W misc) You have a \E in a double-quotish string without a C<\U>,
+C<\L> or C<\Q> preceding it.
+
=item Useless use of %s in void context
(W void) You did something without a side effect in a context that does
=item Useless use of %s in void context
(W void) You did something without a side effect in a context that does