summaryrefslogtreecommitdiff
path: root/pod/perldiag.pod
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2010-11-02 20:28:51 -0700
committerFather Chrysostomos <sprout@cpan.org>2010-11-02 21:32:35 -0700
commit4385b89f5aa9427caa4284e5cfc663a3c5e1c177 (patch)
tree1648af7d8aba0435708a39f7312fbf3e0c19c21f /pod/perldiag.pod
parentf129b8287d79c3945defc6369062f5f2afe63d54 (diff)
downloadperl-4385b89f5aa9427caa4284e5cfc663a3c5e1c177.tar.gz
Document the ‘Using !~’ errors
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r--pod/perldiag.pod7
1 files changed, 7 insertions, 0 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index 3f467af685..e08fe1ee8b 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -5143,6 +5143,13 @@ C<< @foo->[23] >> or C<< @$ref->[99] >>. Versions of perl <= 5.6.1 used to
allow this syntax, but shouldn't have. It is now deprecated, and will be
removed in a future version.
+=item Using !~ with %s doesn't make sense
+
+(F) Using the C<!~> operator with C<s///r>, C<tr///r> or C<y///r> is
+currently reserved for future use, as the exact behaviour has not
+been decided. (Simply returning the boolean opposite of the
+modified string is usually not particularly useful.)
+
=item Using just the first character returned by \N{} in character class
(W) A charnames handler may return a sequence of more than one character.