In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/679563bb154a41b95004965fabed4c296a2cb435?hp=501ab549abec3d696d78c9d5348cdf156c647fe2>
- Log ----------------------------------------------------------------- commit 679563bb154a41b95004965fabed4c296a2cb435 Author: Karl Williamson <[email protected]> Date: Sat Feb 19 20:17:16 2011 -0700 perlop.pod: Update to account for /r ----------------------------------------------------------------------- Summary of changes: pod/perlop.pod | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/pod/perlop.pod b/pod/perlop.pod index 5fd835b..79f608b 100644 --- a/pod/perlop.pod +++ b/pod/perlop.pod @@ -1570,7 +1570,8 @@ with the replacement text and returns the number of substitutions made. Otherwise it returns false (specifically, the empty string). If the C</r> (non-destructive) option is used then it will perform the -substitution on a copy of the string and return the copy whether or not a +substitution on a copy of the string and instead of returning the +number of substitutions, it returns the copy whether or not a substitution occurred. The original string will always remain unchanged in this case. The copy will always be a plain string, even if the input is an object or a tied variable. -- Perl5 Master Repository
