diff options
author | Karen Etheridge <ether@cpan.org> | 2015-03-18 19:13:56 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2015-03-19 09:10:42 -0600 |
commit | cd3ae2edad0b39687eaf15efbfbf9cbc76a091a7 (patch) | |
tree | 7869ce02dcf81fc45568b69a182021a3406c4ba5 | |
parent | b4d1421a2c568793244c86dda134e8b6566e60b8 (diff) | |
download | perl-cd3ae2edad0b39687eaf15efbfbf9cbc76a091a7.tar.gz |
Fix rendering of this code snippet in 'perldoc -f chomp'
In text, formerly rendered as: ("$/ = """)
Now rendered as: ("$/ = ''") which is a tad less confusing
-rw-r--r-- | pod/perlfunc.pod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 9dc4cc6c60..c46f8c56f6 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -884,7 +884,7 @@ $INPUT_RECORD_SEPARATOR in the C<English> module). It returns the total number of characters removed from all its arguments. It's often used to remove the newline from the end of an input record when you're worried that the final record may be missing its newline. When in paragraph -mode (C<$/ = "">), it removes all trailing newlines from the string. +mode (C<$/ = ''>), it removes all trailing newlines from the string. When in slurp mode (C<$/ = undef>) or fixed-length record mode (C<$/> is a reference to an integer or the like; see L<perlvar>) chomp() won't remove anything. |