Change 20999 by [EMAIL PROTECTED] on 2003/09/02 15:34:14
Subject: [DOCPATCH] Re: [perl #23630] problem with "used only once" warning
From: Fergal Daly <[EMAIL PROTECTED]>
Date: Tue, 2 Sep 2003 17:36:52 +0100
Message-Id: <[EMAIL PROTECTED]>
Affected files ...
... //depot/perl/pod/perldiag.pod#354 edit
Differences ...
==== //depot/perl/pod/perldiag.pod#354 (text) ====
Index: perl/pod/perldiag.pod
--- perl/pod/perldiag.pod#353~20608~ Sun Aug 10 21:24:34 2003
+++ perl/pod/perldiag.pod Tue Sep 2 08:34:14 2003
@@ -2199,6 +2199,11 @@
again somehow to suppress the message. The C<our> declaration is
provided for this purpose.
+NOTE: This warning detects symbols that have been used only once so $c, @c,
+%c, *c, &c, sub c{}, c(), and c (the filehandle or format) are considered
+the same; if a program uses $c only once but also uses any of the others it
+will not trigger this warning.
+
=item Negative '/' count in unpack
(F) The length count obtained from a length/code unpack operation was
End of Patch.