summaryrefslogtreecommitdiff
path: root/pod/perldiag.pod
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2014-04-26 11:27:52 -0600
committerKarl Williamson <khw@cpan.org>2014-05-30 10:24:26 -0600
commitdf758df2cf990debef5a719b684d8f2689a0bdcb (patch)
treeea1352d4465bff5db9d32d6fa3236698c24e6b37 /pod/perldiag.pod
parent7fc824585380f310eb2c75afd2cdb021c39dbfe9 (diff)
downloadperl-df758df2cf990debef5a719b684d8f2689a0bdcb.tar.gz
Deprecate NBSP in \N{...} names
This is currently allowed, but is non-graphic, and is indistinguishable from a regular space. I was the one who initially allowed it, and did so out of ignorance of the negative consequences of doing so. There is no other precedent for including it.
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r--pod/perldiag.pod8
1 files changed, 8 insertions, 0 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index 7b8fe57a85..0f23480f2e 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -3352,6 +3352,14 @@ setgid script to even be allowed to attempt. Generally speaking there
will be another way to do what you want that is, if not secure, at least
securable. See L<perlsec>.
+=item NO-BREAK SPACE in a charnames alias definition is deprecated
+
+(D deprecated) You defined a character name which contained a no-break
+space character. Change it to a regular space. Usually these names are
+defined in the C<:alias> import argument to C<use charnames>, but they
+could be defined by a translator installed into C<$^H{charnames}>. See
+L<charnames/CUSTOM ALIASES>.
+
=item No code specified for -%c
(F) Perl's B<-e> and B<-E> command-line options require an argument. If