summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorGwyn Judd <b.judd@xtra.co.nz>2001-07-18 08:55:58 +1200
committerNick Ing-Simmons <nik@tiuk.ti.com>2001-07-17 08:04:11 +0000
commitf39758bfd81602efcc8ca82c9bb02e62fe585396 (patch)
treecf32cc7a2cbf94476a7912988f91a9bddeb4defa /pod
parent2fba3065d4b7c8eed8cb05e0794258dc03b3486d (diff)
downloadperl-f39758bfd81602efcc8ca82c9bb02e62fe585396.tar.gz
make printf refer to sprintf
Message-Id: <20010717205558.A3107@thislove> p4raw-id: //depot/perl@11396
Diffstat (limited to 'pod')
-rw-r--r--pod/perlfunc.pod7
1 files changed, 4 insertions, 3 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index fcd6f57ef1..3f86c6aa4d 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -3490,9 +3490,10 @@ you will have to use a block returning its value instead:
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