How to Install and Uninstall perl-Unicode-EastAsianWidth Package on openSUSE Leap

Last updated: May 19,2024

1. Install "perl-Unicode-EastAsianWidth" package

In this section, we are going to explain the necessary steps to install perl-Unicode-EastAsianWidth on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install perl-Unicode-EastAsianWidth

2. Uninstall "perl-Unicode-EastAsianWidth" package

Please follow the steps below to uninstall perl-Unicode-EastAsianWidth on openSUSE Leap:

$ sudo zypper remove perl-Unicode-EastAsianWidth

3. Information about the perl-Unicode-EastAsianWidth package on openSUSE Leap

Information for package perl-Unicode-EastAsianWidth:
----------------------------------------------------
Repository : Main Repository
Name : perl-Unicode-EastAsianWidth
Version : 12.0-bp155.1.4
Arch : noarch
Vendor : openSUSE
Installed Size : 35.3 KiB
Installed : No
Status : not installed
Source package : perl-Unicode-EastAsianWidth-12.0-bp155.1.4.src
Upstream URL : https://metacpan.org/release/Unicode-EastAsianWidth
Summary : East Asian Width properties
Description :
This module provide user-defined Unicode properties that deal with width
status of East Asian characters, as specified in
http://www.unicode.org/unicode/reports/tr11/.
It exports the following functions to the caller's scope, to be used by
Perl's Unicode matching system: 'InEastAsianFullwidth',
'InEastAsianHalfwidth', 'InEastAsianAmbiguous', 'InEastAsianNarrow'
'InEastAsianWide', 'InEastAsianNeutral'.
In accord to TR11 cited above, two additional context-sensitive properties
are exported: 'InFullwidth' (union of 'Fullwidth' and 'Wide') and
'InHalfwidth' (union of 'Halfwidth', 'Narrow' and 'Neutral').
_Ambiguous_ characters are treated by default as part of 'InHalfwidth', but
you can modify this behaviour by assigning a true value to
'$Unicode::EastAsianWidth::EastAsian' at compile time within a 'BEGIN'
block before loading this module:
BEGIN { $Unicode::EastAsianWidth::EastAsian = 1; }
use Unicode::EastAsianWidth;
Setting '$Unicode::EastAsianWidth::EastAsian' at run-time used to work on
Perl versions between 5.8 and 5.14 due to an implementation detail, but it
will no longer work on Perl 5.16 and later versions, and hence is not
recommended.