X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/14735530c9ee0afb050f13df6d310f68bc909053..d259adbb441ebed08c8b8dfe32cd7adf7c2359cb:/pod/perlfunc.pod diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index b5fb4f1..1759ad1 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -7410,11 +7410,11 @@ value to format. Here are some more examples; be aware that when using an explicit index, the C<$> may need escaping: - printf "%2\$d %d\n", 12, 34; # will print "34 12\n" - printf "%2\$d %d %d\n", 12, 34; # will print "34 12 34\n" - printf "%3\$d %d %d\n", 12, 34, 56; # will print "56 12 34\n" - printf "%2\$*3\$d %d\n", 12, 34, 3; # will print " 34 12\n" - printf "%*1\$.*f\n", 4, 5, 10; # will print "5.0000\n" + printf "%2\$d %d\n", 12, 34; # will print "34 12\n" + printf "%2\$d %d %d\n", 12, 34; # will print "34 12 34\n" + printf "%3\$d %d %d\n", 12, 34, 56; # will print "56 12 34\n" + printf "%2\$*3\$d %d\n", 12, 34, 3; # will print " 34 12\n" + printf "%*1\$.*f\n", 4, 5, 10; # will print "5.0000\n" =back