From: Rafael Garcia-Suarez Date: Thu, 17 Jan 2002 23:53:49 +0000 (+0100) Subject: overload.pm warnings X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=04a80ee019fadd81ac4e1a8bd503bcb51ff95810;p=p5sagit%2Fp5-mst-13.2.git overload.pm warnings Message-ID: <20020117235349.A14530@rafael> p4raw-id: //depot/perl@14321 --- diff --git a/pod/perldiag.pod b/pod/perldiag.pod index a47dda1..c612b9b 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -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 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