In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/0381ecf1e81c5bdc5e137f2ed8e0a6bf5d348798?hp=29df0d74e3d7ce24a316ef1b297b6b0f6d63a54c>

- Log -----------------------------------------------------------------
commit 0381ecf1e81c5bdc5e137f2ed8e0a6bf5d348798
Author: Matthew Horsfall <[email protected]>
Date:   Wed Jan 28 08:59:11 2015 -0500

    Reword note about m being optional in m?PATTERN? in perlop for clarity
-----------------------------------------------------------------------

Summary of changes:
 pod/perlop.pod | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/pod/perlop.pod b/pod/perlop.pod
index c278d81..0835e60 100644
--- a/pod/perlop.pod
+++ b/pod/perlop.pod
@@ -2006,9 +2006,10 @@ to "utf8" in a pod file:
 The match-once behavior is controlled by the match delimiter being
 C<?>; with any other delimiter this is the normal C<m//> operator.
 
-In the past, the leading C<m> in C<m?PATTERN?> was optional, but was
-long deprecated.  As of v5.22.0, it is a syntax error.  If you
-encounter this construct in older code, you can just add C<m>.
+In the past, the leading C<m> in C<m?PATTERN?> was optional, but omitting it
+would produce a deprecation warning.  As of v5.22.0, omitting it produces a
+syntax error.  If you encounter this construct in older code, you can just add
+C<m>.
 
 =item s/PATTERN/REPLACEMENT/msixpodualngcer
 X<substitute> X<substitution> X<replace> X<regexp, replace>

--
Perl5 Master Repository

Reply via email to