From: Karl Williamson Date: Sun, 20 Feb 2011 03:17:16 +0000 (-0700) Subject: perlop.pod: Update to account for /r X-Git-Tag: accepted/trunk/20130322.191538~5425 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=679563bb154a41b95004965fabed4c296a2cb435;p=platform%2Fupstream%2Fperl.git perlop.pod: Update to account for /r --- 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 (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.