Change 11396 by nick@camel-linux on 2001/07/17 08:04:11
Subject: [PATCH perlfunc.pod] make printf refer to sprintf
From: Gwyn Judd <[EMAIL PROTECTED]>
Date: Tue, 17 Jul 2001 20:55:58 +1200
Message-Id: <20010717205558.A3107@thislove>
Affected files ...
... //depot/perl/pod/perlfunc.pod#250 edit
Differences ...
==== //depot/perl/pod/perlfunc.pod#250 (text) ====
Index: perl/pod/perlfunc.pod
--- perl/pod/perlfunc.pod.~1~ Tue Jul 17 02:15:05 2001
+++ perl/pod/perlfunc.pod Tue Jul 17 02:15:05 2001
@@ -3490,9 +3490,10 @@
Equivalent to C<print FILEHANDLE sprintf(FORMAT, LIST)>, except that C<$\>
(the output record separator) is not appended. The first argument
-of the list will be interpreted as the C<printf> format. If C<use locale> is
-in effect, the character used for the decimal point in formatted real numbers
-is affected by the LC_NUMERIC locale. See L<perllocale>.
+of the list will be interpreted as the C<printf> format. See C<sprintf>
+for an explanation of the format argument. If C<use locale> is in effect,
+the character used for the decimal point in formatted real numbers is
+affected by the LC_NUMERIC locale. See L<perllocale>.
Don't fall into the trap of using a C<printf> when a simple
C<print> would do. The C<print> is more efficient and less
End of Patch.