In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/4932eecad028c2cea4d6a7602933bc677c540fb5?hp=eca355c29ba241d2cae75aed740748d2cbb26d53>
- Log ----------------------------------------------------------------- commit 4932eecad028c2cea4d6a7602933bc677c540fb5 Author: Ricardo Signes <[email protected]> Date: Tue Jan 27 21:25:23 2015 -0500 m?? without the m is not deprecated, but gone! ----------------------------------------------------------------------- Summary of changes: pod/perlop.pod | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pod/perlop.pod b/pod/perlop.pod index dc546fb..6c7d3b1 100644 --- a/pod/perlop.pod +++ b/pod/perlop.pod @@ -2004,12 +2004,11 @@ to "utf8" in a pod file: s//utf8/ if m? ^ =encoding \h+ \K latin1 ?x; The match-once behavior is controlled by the match delimiter being -C<?>; with any other delimiter this is the normal C<m//> operator. +C<?>; with any other delimiter this is the normal C<m//> operator. -For historical reasons, the leading C<m> in C<m?PATTERN?> is optional, -but the resulting C<?PATTERN?> syntax is deprecated, will warn on -usage and might be removed from a future stable release of Perl (without -further notice!). +In the past, the leading C<m> in C<m?PATTERN?> was optional, but was +long deprecated. As of v5.24.0, it is 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
