Change 20157 by [EMAIL PROTECTED] on 2003/07/13 19:43:29
Minor updates of the charnames documentation.
Affected files ...
... //depot/perl/lib/charnames.pm#40 edit
Differences ...
==== //depot/perl/lib/charnames.pm#40 (text) ====
Index: perl/lib/charnames.pm
--- perl/lib/charnames.pm#39~18904~ Mon Mar 10 21:33:10 2003
+++ perl/lib/charnames.pm Sun Jul 13 12:43:29 2003
@@ -333,9 +333,10 @@
use charnames ":full", ":alias" => {
e_ACUTE => "LATIN SMALL LETTER E WITH ACUTE",
- };
+ };
print "\N{e_ACUTE} is a small letter e with an acute.\n";
+ use charnames ();
print charnames::viacode(0x1234); # prints "ETHIOPIC SYLLABLE SEE"
printf "%04X", charnames::vianame("GOTHIC LETTER AHSA"); # prints "10330"
@@ -343,8 +344,8 @@
Pragma C<use charnames> supports arguments C<:full>, C<:short>, script
names and customized aliases. If C<:full> is present, for expansion of
-C<\N{CHARNAME}> string C<CHARNAME> is first looked in the list of
-standard Unicode names of chars. If C<:short> is present, and
+C<\N{CHARNAME}>, the string C<CHARNAME> is first looked up in the list of
+standard Unicode character names. If C<:short> is present, and
C<CHARNAME> has the form C<SCRIPT:CNAME>, then C<CNAME> is looked up
as a letter in script C<SCRIPT>. If pragma C<use charnames> is used
with script name arguments, then for C<\N{CHARNAME}> the name
End of Patch.