X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperlform.pod;h=fac7efca35cb6b87623fecacfc1307da4c856cf8;hb=16114dde8ca7b3eded13218a07f79301ce8c5946;hp=53e348f7b38f296c3e8d4a651167b2807f8f143b;hpb=a1ce9542567c946a9e13885800d99a27d4b700db;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perlform.pod b/pod/perlform.pod index 53e348f..fac7efc 100644 --- a/pod/perlform.pod +++ b/pod/perlform.pod @@ -60,11 +60,13 @@ justification, or centering. If the variable would exceed the width specified, it is truncated. As an alternate form of right justification, you may also use "#" -characters (with an optional ".") to specify a numeric field. This way -you can line up the decimal points. If any value supplied for these -fields contains a newline, only the text up to the newline is printed. -Finally, the special field "@*" can be used for printing multi-line, -nontruncated values; it should appear by itself on a line. +characters (with an optional ".") to specify a numeric field. This way +you can line up the decimal points. With a "0" (zero) instead of the +first "#", the formatted number will be padded with leading zeroes if +necessary. If any value supplied for these fields contains a newline, +only the text up to the newline is printed. Finally, the special field +"@*" can be used for printing multi-line, nontruncated values; it +should appear by itself on a line. The values are specified on the following line in the same order as the picture fields. The expressions providing the values should be