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
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fac1ce
)
Document new overload warning in overload.pm
author
Father Chrysostomos
<sprout@cpan.org>
Wed, 18 Jan 2012 21:20:44 +0000
(13:20 -0800)
committer
Father Chrysostomos
<sprout@cpan.org>
Wed, 18 Jan 2012 21:45:22 +0000
(13:45 -0800)
as well as perldiag.
lib/overload.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/overload.pm
b/lib/overload.pm
index
f107d83
..
eb39c94
100644
(file)
--- 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