This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
overload.pm warnings
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Thu, 17 Jan 2002 23:53:49 +0000 (00:53 +0100)
committerJarkko Hietaniemi <jhi@iki.fi>
Thu, 17 Jan 2002 22:51:55 +0000 (22:51 +0000)
Message-ID: <20020117235349.A14530@rafael>

p4raw-id: //depot/perl@14321

pod/perldiag.pod

index a47dda1..c612b9b 100644 (file)
@@ -1804,13 +1804,14 @@ neither as a system call or an ioctl call (SIOCATMARK).
 
 =item `%s' is not a code reference
 
-(W) The second (fourth, sixth, ...) argument of overload::constant needs
-to be a code reference. Either an anonymous subroutine, or a reference
+(W overload) The second (fourth, sixth, ...) argument of overload::constant
+needs to be a code reference. Either an anonymous subroutine, or a reference
 to a subroutine.
 
 =item `%s' is not an overloadable type
 
-(W) You tried to overload a constant type the overload package is unaware of.
+(W overload) You tried to overload a constant type the overload package is
+unaware of.
 
 =item junk on end of regexp
 
@@ -2367,8 +2368,8 @@ See also L<perlport> for writing portable code.
 
 =item Odd number of arguments for overload::constant
 
-(W) The call to overload::constant contained an odd number of arguments.
-The arguments should come in pairs.
+(W overload) The call to overload::constant contained an odd number of
+arguments. The arguments should come in pairs.
 
 =item Odd number of elements in anonymous hash