summaryrefslogtreecommitdiff
path: root/pod/perldelta.pod
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-10-14 22:08:22 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-10-14 22:08:22 +0000
commit1028017ab8b9674cf749da3584eec9f032360d33 (patch)
tree9d45adc219fe29d5568c6d303fbe82507de3629a /pod/perldelta.pod
parent73b437c8b23cd73848b265b0c5a0c71d47dc6532 (diff)
downloadperl-1028017ab8b9674cf749da3584eec9f032360d33.tar.gz
Warn inside character classes about unknown backslash escapes
(that are not caught earlier because of being completely unknown, such as \m), such as \z (because they make do sense inside regexen, but not inside character classes). p4raw-id: //depot/cfgperl@4380
Diffstat (limited to 'pod/perldelta.pod')
-rw-r--r--pod/perldelta.pod9
1 files changed, 7 insertions, 2 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index b4d4d217de..2ea923724c 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -1395,7 +1395,12 @@ your signed integers. See L<perlfunc/unpack>.
(W) You used a backslash-character combination which is not recognized
by Perl. This combination appears in an interpolated variable or a
-C<'>-delimited regular expression.
+C<'>-delimited regular expression. The character was understood literally.
+
+=item /%s/: Unrecognized escape \\%c in character class passed through
+
+(W) You used a backslash-character combination which is not recognized
+by Perl inside character classes. The character was understood literally.
=item /%s/ should probably be written as "%s"
@@ -1773,7 +1778,7 @@ subvert Perl's population of %ENV for nefarious purposes.
=item Unrecognized escape \\%c passed through
(W) You used a backslash-character combination which is not recognized
-by Perl.
+by Perl. The character was understood literally.
=item Unterminated attribute parameter in attribute list