This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make deprecated qr//xx fatal
[perl5.git] / pod / perldiag.pod
index 0383ccb..35cbb19 100644 (file)
@@ -2464,13 +2464,6 @@ created on an emergency basis to prevent a core dump.
 (F) The parser has given up trying to parse the program after 10 errors.
 Further error messages would likely be uninformative.
 
-=item Having more than one /%c regexp modifier is deprecated
-
-(D deprecated, regexp) You used the indicated regular expression pattern
-modifier at least twice in a string of modifiers.  It is deprecated to
-do this with this particular modifier, to allow future extensions to the
-Perl language.
-
 =item Hexadecimal float: exponent overflow
 
 (W overflow) The hexadecimal floating point has a larger exponent
@@ -4134,6 +4127,14 @@ call, or call a constructor from the FileHandle package.
 (W unopened) You tried to invoke a file test operator on a filehandle
 that isn't open.  Check your control flow.  See also L<perlfunc/-X>.
 
+=item Only one /x regex modifier is allowed
+
+=item Only one /x regex modifier is allowed in regex; marked by <-- HERE in m/%s/
+
+(F) You used the C</x> regular expression pattern modifier at least
+twice in a string of modifiers.  It is illegal to do this with, to allow
+future extensions to the Perl language.
+
 =item oops: oopsAV
 
 (S internal) An internal warning that the grammar is screwed up.