From: Rafael Garcia-Suarez Date: Thu, 17 Jan 2002 23:53:49 +0000 (+0100) Subject: overload.pm warnings X-Git-Tag: perl-5.7.3~565 X-Git-Url: https://perl5.git.perl.org/perl5.git/commitdiff_plain/04a80ee019fadd81ac4e1a8bd503bcb51ff95810 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