This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Document new overload warning in overload.pm
authorFather Chrysostomos <sprout@cpan.org>
Wed, 18 Jan 2012 21:20:44 +0000 (13:20 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 18 Jan 2012 21:45:22 +0000 (13:45 -0800)
as well as perldiag.

lib/overload.pm

index f107d83..eb39c94 100644 (file)
@@ -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