Lines Matching refs:charnames

1 package charnames;
36 _charnames::carp "charnames::vianame() expects one name argument";
70 _charnames::carp "charnames::string_vianame() expects one name argument";
99 charnames - access to Unicode character names and named character sequences; also define character names
103 use charnames ':full';
108 use charnames ':loose';
113 use charnames ':short';
116 use charnames qw(cyrillic greek);
120 use charnames ":full", ":alias" => {
130 use charnames ();
131 print charnames::viacode(0x1234); # prints "ETHIOPIC SYLLABLE SEE"
132 printf "%04X", charnames::vianame("GOTHIC LETTER AHSA"); # prints
134 print charnames::vianame("LATIN CAPITAL LETTER A"); # prints 65 on
137 print charnames::string_vianame("LATIN CAPITAL LETTER A"); # prints "A"
141 Pragma C<use charnames> is used to gain access to the names of the
151 L</charnames::string_vianame(I<name>)> for run-time lookup of a
157 L</charnames::vianame(I<name>)> for run-time lookup of a
163 L</charnames::viacode(I<code>)> for run-time lookup of a code point to get its
172 position in the string. Prior to v5.16, an explicit S<C<use charnames>> was
174 charnames ();">> did not enable C<\N{I<CHARNAME>}>.)
186 The C<charnames> pragma supports arguments C<:full>, C<:loose>, C<:short>,
199 Or, if C<use charnames> is used
222 L<charnames::string_vianame()|/charnames::string_vianame(I<name>)>.
274 L<http://perldoc.perl.org/5.14.0/charnames.html#ALIASES>.
314 use charnames ":alias" => {
322 use charnames ":alias" => "pro";
342 use charnames ":full", ":alias" => "pro";
351 =head1 charnames::string_vianame(I<name>)
355 option|/DESCRIPTION> to C<charnames>. In addition, any other options for the
356 controlling C<"use charnames"> in the same scope apply, like C<:loose> or any
365 =head1 charnames::vianame(I<name>)
371 printf "U+%04X", charnames::vianame("FOUR TEARDROP-SPOKED ASTERISK");
384 =head1 charnames::viacode(I<code>)
389 print charnames::viacode(0x2722);
461 hardwired into F<charnames.pm>. A module can install custom
467 $^H{charnames} = \&translator;