How to Install and Uninstall perl-MooX-late Package on openSuSE Tumbleweed

Last updated: December 24,2024

1. Install "perl-MooX-late" package

Please follow the guidelines below to install perl-MooX-late on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install perl-MooX-late

2. Uninstall "perl-MooX-late" package

This guide let you learn how to uninstall perl-MooX-late on openSuSE Tumbleweed:

$ sudo zypper remove perl-MooX-late

3. Information about the perl-MooX-late package on openSuSE Tumbleweed

Information for package perl-MooX-late:
---------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : perl-MooX-late
Version : 0.100-2.15
Arch : noarch
Vendor : openSUSE
Installed Size : 51.6 KiB
Installed : No
Status : not installed
Source package : perl-MooX-late-0.100-2.15.src
Upstream URL : https://metacpan.org/release/MooX-late
Summary : Easily translate Moose code to Moo
Description :
Moo is a light-weight object oriented programming framework which aims to
be compatible with Moose. It does this by detecting when Moose has been
loaded, and automatically "inflating" its classes and roles to full Moose
classes and roles. This way, Moo classes can consume Moose roles, Moose
classes can extend Moo classes, and so forth.
However, the surface syntax of Moo differs somewhat from Moose. For example
the 'isa' option when defining attributes in Moose must be either a string
or a blessed Moose::Meta::TypeConstraint object; but in Moo must be a
coderef. These differences in surface syntax make porting code from Moose
to Moo potentially tricky. MooX::late provides some assistance by enabling
a slightly more Moosey surface syntax.
MooX::late does the following:
* 1.
Supports 'isa => $stringytype'.
* 2.
Supports 'does => $rolename' .
* 3.
Supports 'lazy_build => 1'.
* 4.
Exports 'blessed' and 'confess' functions to your namespace.
* 5.
Handles native attribute traits.
Five features. It is not the aim of 'MooX::late' to make every aspect of
Moo behave exactly identically to Moose. It's just going after the
low-hanging fruit. So it does five things right now, and I promise that
future versions will never do more than seven.
Previous releases of MooX::late added support for 'coerce => 1' and
'default => $nonref'. These features have now been added to Moo itself, so
MooX::late no longer has to deal with them.