diff options
author | Dan Book <grinnz@grinnz.com> | 2020-11-26 23:19:13 -0500 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2020-11-27 09:36:23 -0700 |
commit | 6e46265cd30bc5b18a16181a924660fb80a1c284 (patch) | |
tree | fa2cafeb4f60f2a14d778f21ca2b0014b6f8b0c5 /pod/perlvar.pod | |
parent | 0cc28fe31b0d416e9c67ecd18b8f38c5833a455a (diff) | |
download | perl-6e46265cd30bc5b18a16181a924660fb80a1c284.tar.gz |
perlvar - clarify that paragraph mode also discards a single leading newline
Diffstat (limited to 'pod/perlvar.pod')
-rw-r--r-- | pod/perlvar.pod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlvar.pod b/pod/perlvar.pod index 33157b8722..cfe9ff2f38 100644 --- a/pod/perlvar.pod +++ b/pod/perlvar.pod @@ -1515,7 +1515,7 @@ be better for something. :-) Setting C<$/> to an empty string -- the so-called I<paragraph mode> -- merits special attention. When C<$/> is set to C<""> and the entire file is read in -with that setting, any sequence of consecutive newlines C<"\n\n"> at the +with that setting, any sequence of one or more consecutive newlines at the beginning of the file is discarded. With the exception of the final record in the file, each sequence of characters ending in two or more newlines is treated as one record and is read in to end in exactly two newlines. If the |