From 04a80ee019fadd81ac4e1a8bd503bcb51ff95810 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Fri, 18 Jan 2002 00:53:49 +0100 Subject: [PATCH] overload.pm warnings Message-ID: <20020117235349.A14530@rafael> p4raw-id: //depot/perl@14321 --- pod/perldiag.pod | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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 -- 2.7.4