summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2010-11-19 12:23:25 -0700
committerFather Chrysostomos <sprout@cpan.org>2010-11-20 18:15:15 -0800
commit27f853a052b4e172de76b2d12aeafb507a1ffd2f (patch)
treeb3efe7c27b7ee48daa8fc856d5c49f011b73dcc5 /lib
parent71a442a8e083048f771614ff45898af022ade6b7 (diff)
downloadperl-27f853a052b4e172de76b2d12aeafb507a1ffd2f.tar.gz
UCD.pm: Add info about named sequence alternatives
The namedseq function is essentially obsolete, as the core has better incorporated its abilities. This adds documentation as to the alternatives.
Diffstat (limited to 'lib')
-rw-r--r--lib/Unicode/UCD.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Unicode/UCD.pm b/lib/Unicode/UCD.pm
index 522c540dd9..c0e28dadaf 100644
--- a/lib/Unicode/UCD.pm
+++ b/lib/Unicode/UCD.pm
@@ -1122,6 +1122,12 @@ on the context.
This function only operates on officially approved (not provisional) named
sequences.
+Note that as of Perl 5.14, C<\N{KATAKANA LETTER AINU P}> will insert the named
+sequence into double-quoted strings, and C<charnames::string_vianame("KATAKANA
+LETTER AINU P")> will return the same string this function does, but will also
+operate on character names that aren't named sequences, without you having to
+know which are which. See L<charnames>.
+
=cut
my %NAMEDSEQ;