How to Install and Uninstall perl-MooseX-Role-Parameterized Package on openSuSE Tumbleweed

Last updated: May 19,2024

1. Install "perl-MooseX-Role-Parameterized" package

Learn how to install perl-MooseX-Role-Parameterized on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install perl-MooseX-Role-Parameterized

2. Uninstall "perl-MooseX-Role-Parameterized" package

Here is a brief guide to show you how to uninstall perl-MooseX-Role-Parameterized on openSuSE Tumbleweed:

$ sudo zypper remove perl-MooseX-Role-Parameterized

3. Information about the perl-MooseX-Role-Parameterized package on openSuSE Tumbleweed

Information for package perl-MooseX-Role-Parameterized:
-------------------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : perl-MooseX-Role-Parameterized
Version : 1.11-1.20
Arch : noarch
Vendor : openSUSE
Installed Size : 77.3 KiB
Installed : No
Status : not installed
Source package : perl-MooseX-Role-Parameterized-1.11-1.20.src
Upstream URL : https://metacpan.org/release/MooseX-Role-Parameterized
Summary : Moose roles with composition parameters
Description :
Your parameterized role consists of two new things: parameter declarations
and a 'role' block.
Parameters are declared using the parameter keyword which very much
resembles Moose/has. You can use any option that Moose/has accepts. The
default value for the 'is' option is 'ro' as that's a very common case. Use
'is => 'bare'' if you want no accessor. These parameters will get their
values when the consuming class (or role) uses Moose/with. A parameter
object will be constructed with these values, and passed to the 'role'
block.
The 'role' block then uses the usual Moose::Role keywords to build up a
role. You can shift off the parameter object to inspect what the consuming
class provided as parameters. You use the parameters to customize your role
however you wish.
There are many possible implementations for parameterized roles (hopefully
with a consistent enough API); I believe this to be the easiest and most
flexible design. Coincidentally, Pugs originally had an eerily similar
design.
See MooseX::Role::Parameterized::Extending for some tips on how to extend
this module.