How to Install and Uninstall perl-MooseX-OneArgNew Package on openSuSE Tumbleweed
Last updated: November 08,2024
1. Install "perl-MooseX-OneArgNew" package
Please follow the guidelines below to install perl-MooseX-OneArgNew on openSuSE Tumbleweed
$
sudo zypper refresh
Copied
$
sudo zypper install
perl-MooseX-OneArgNew
Copied
2. Uninstall "perl-MooseX-OneArgNew" package
Here is a brief guide to show you how to uninstall perl-MooseX-OneArgNew on openSuSE Tumbleweed:
$
sudo zypper remove
perl-MooseX-OneArgNew
Copied
3. Information about the perl-MooseX-OneArgNew package on openSuSE Tumbleweed
Information for package perl-MooseX-OneArgNew:
----------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : perl-MooseX-OneArgNew
Version : 0.007-1.5
Arch : noarch
Vendor : openSUSE
Installed Size : 27.2 KiB
Installed : No
Status : not installed
Source package : perl-MooseX-OneArgNew-0.007-1.5.src
Upstream URL : https://metacpan.org/release/MooseX-OneArgNew
Summary : Teach ->new to accept single, non-hashref arguments
Description :
MooseX::OneArgNew lets your constructor take a single argument, which will
be translated into the value for a one-entry hashref. It is a parameterized
role|MooseX::Role::Parameterized with three parameters:
* type
The Moose type that the single argument must be for the one-arg form to
work. This should be an existing type, and may be either a string type or a
MooseX::Type.
* init_arg
This is the string that will be used as the key for the hashref constructed
from the one-arg call to new.
* coerce
If true, a single argument to new will be coerced into the expected type if
possible. Keep in mind that if there are no coercions for the type, this
will be an error, and that if a coercion from HashRef exists, you might be
getting yourself into a weird situation.
----------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : perl-MooseX-OneArgNew
Version : 0.007-1.5
Arch : noarch
Vendor : openSUSE
Installed Size : 27.2 KiB
Installed : No
Status : not installed
Source package : perl-MooseX-OneArgNew-0.007-1.5.src
Upstream URL : https://metacpan.org/release/MooseX-OneArgNew
Summary : Teach ->new to accept single, non-hashref arguments
Description :
MooseX::OneArgNew lets your constructor take a single argument, which will
be translated into the value for a one-entry hashref. It is a parameterized
role|MooseX::Role::Parameterized with three parameters:
* type
The Moose type that the single argument must be for the one-arg form to
work. This should be an existing type, and may be either a string type or a
MooseX::Type.
* init_arg
This is the string that will be used as the key for the hashref constructed
from the one-arg call to new.
* coerce
If true, a single argument to new will be coerced into the expected type if
possible. Keep in mind that if there are no coercions for the type, this
will be an error, and that if a coercion from HashRef exists, you might be
getting yourself into a weird situation.