UCD.pm: Add info about named sequence alternatives
authorKarl Williamson <public@khwilliamson.com>
Fri, 19 Nov 2010 19:23:25 +0000 (12:23 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 21 Nov 2010 02:15:15 +0000 (18:15 -0800)
The namedseq function is essentially obsolete, as the core has better
incorporated its abilities.  This adds documentation as to the
alternatives.

lib/Unicode/UCD.pm

index 522c540..c0e28da 100644 (file)
@@ -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;