diff options
author | Colin Kuskie <ckuskie@cadence.com> | 1998-08-26 07:53:01 -0700 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-09-24 09:04:43 +0000 |
commit | c380484f921807e7089fef0177d59fe87df2f0ee (patch) | |
tree | cbdf5f5d446f05d744c3da97f1e6357de1174f55 /pod/perlform.pod | |
parent | d37908890678cc520478783c272a10631e81a5d0 (diff) | |
download | perl-c380484f921807e7089fef0177d59fe87df2f0ee.tar.gz |
perlform.pod
Message-ID: <Pine.GSO.3.96.980826143507.3258K-100000@pdxmail.cadence.com>
p4raw-id: //depot/perl@1876
Diffstat (limited to 'pod/perlform.pod')
-rw-r--r-- | pod/perlform.pod | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pod/perlform.pod b/pod/perlform.pod index 6b65e04303..b2c87fa9b0 100644 --- a/pod/perlform.pod +++ b/pod/perlform.pod @@ -335,3 +335,12 @@ cannot be controlled by C<use locale> because the pragma is tied to the block structure of the program, and, for historical reasons, formats exist outside that block structure. See L<perllocale> 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. |