Name : perl-Unicode-Char
| |
Version : 0.03
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 1.23
| Date : 2024-08-05 17:21:38
|
Group : Unspecified
| Source RPM : perl-Unicode-Char-0.03-1.23.src.rpm
|
Size : 0.01 MB
| |
Packager : (none)
| |
Summary : OO interface to charnames and others
|
Description :
This module provides OO interface to Unicode characters.
* \'$u->u()\'
Returns a character whose Unicode Number is the argument.
$u->u(\'5c0f\'); # \"small\" in Kanji
But the following is handier.
$u->u5c0f; # same thing but as a method
These methods are generatated on demand.
* \'$u->n()\'
Returns a character whose Unicode Canonical Name is the argument.
$u->n(\'white smiling face\');
But as \'$u->u()\', you may prefer the handier version:
$u->white_smiling_face;
As you many have noticed, these names do not have to be all in caps. Just replace spaces with underscore.
* \'$u->name()\'
Returns the Unicode Canonical Name of the character.;
my $name = $u->name(chr(0x263A)); # WHITE SMILING FACE
* \'$u->names()\'
Same as above but in list context.
my AATTnames = $u->names(\"perl\"); # (\'LATIN SMALL LETTER P\',
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-U/openSUSE_Tumbleweed/noarch |