From 679563bb154a41b95004965fabed4c296a2cb435 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sat, 19 Feb 2011 20:17:16 -0700 Subject: [PATCH] perlop.pod: Update to account for /r --- pod/perlop.pod | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. -- 2.7.4