diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-01-18 13:20:44 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-01-18 13:45:22 -0800 |
commit | b877326b8a0e2afc3bce40b0de34dc6d5e5b9b98 (patch) | |
tree | d1c4b3162cdee690e3dab7bf420dd86826d1e916 /lib/overload.pm | |
parent | 0fac1cefdb666e8a1dde206494253c196c462aae (diff) | |
download | perl-b877326b8a0e2afc3bce40b0de34dc6d5e5b9b98.tar.gz |
Document new overload warning in overload.pm
as well as perldiag.
Diffstat (limited to 'lib/overload.pm')
-rw-r--r-- | lib/overload.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/overload.pm b/lib/overload.pm index f107d83d09..eb39c94f7a 100644 --- a/lib/overload.pm +++ b/lib/overload.pm @@ -1604,6 +1604,11 @@ The arguments should come in pairs. to be a code reference. Either an anonymous subroutine, or a reference to a subroutine. +=item overload arg '%s' is invalid + +(W) C<use overload> was passed an argument it did not +recognize. Did you mistype an operator? + =back =head1 BUGS AND PITFALLS |