summaryrefslogtreecommitdiff
path: root/pod/perlreref.pod
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2010-09-12 21:33:12 -0600
committerFather Chrysostomos <sprout@cpan.org>2010-09-25 00:47:02 -0700
commitfb121860c2407cd1d1566d63a95a5220fa93d8e4 (patch)
treecc61893dd3ffe9966e079addeaa538172e2290e9 /pod/perlreref.pod
parent8ebef31d4feab4b7c35ff0eb427632a67b1abdd9 (diff)
downloadperl-fb121860c2407cd1d1566d63a95a5220fa93d8e4.tar.gz
Teach Perl about Unicode named character sequences
mktables is changed to process the Unicode named sequence file. charnames.pm is changed to cache the looked-up values in utf8. A new function, string_vianame is created that can handle named sequences, as the interface for vianame cannot. The subroutine lookup_name() is slightly refactored to do almost all of the common work for \N{} and the vianame routines. It now understands named sequences as created my mktables.. tests and documentation are added. In the randomized testing section, half use vianame() and half string_vianame().
Diffstat (limited to 'pod/perlreref.pod')
-rw-r--r--pod/perlreref.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlreref.pod b/pod/perlreref.pod
index 01d57cc4e6..6e028ee9c3 100644
--- a/pod/perlreref.pod
+++ b/pod/perlreref.pod
@@ -94,7 +94,7 @@ These work as in normal strings.
\x7f Char whose ordinal is the 2 hex digits, max \xFF
\x{263a} Char whose ordinal is the hex number, unrestricted
\cx Control-x
- \N{name} A named Unicode character
+ \N{name} A named Unicode character or character sequence
\N{U+263D} A Unicode character by hex ordinal
\l Lowercase next character