summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Etheridge <ether@cpan.org>2015-03-18 19:13:56 -0700
committerKarl Williamson <khw@cpan.org>2015-03-19 09:10:42 -0600
commitcd3ae2edad0b39687eaf15efbfbf9cbc76a091a7 (patch)
tree7869ce02dcf81fc45568b69a182021a3406c4ba5
parentb4d1421a2c568793244c86dda134e8b6566e60b8 (diff)
downloadperl-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.pod2
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.