X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperlform.pod;h=b2c87fa9b0753189e5a56022359a4c1ae77c77d0;hb=b988f96b4d2a582eb175809bd8070316bbc37118;hp=6b65e0430310039ff55bf5ada3435e91287b4b4c;hpb=5a964f204835a8014f4ba86fc91884cff958ac67;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perlform.pod b/pod/perlform.pod index 6b65e04..b2c87fa 100644 --- a/pod/perlform.pod +++ b/pod/perlform.pod @@ -335,3 +335,12 @@ cannot be controlled by C because the pragma is tied to the block structure of the program, and, for historical reasons, formats exist outside that block structure. See L for further discussion of locale handling. + +Inside of an expression, the whitespace characters \n, \t and \f are +considered to be equivalent to a single space. Thus, you could think +of this filter being applied to each value in the format: + + $value =~ tr/\n\t\f/ /; + +The remaining whitespace character, \r, forces the printing of a new +line if allowed by the picture line.