How to Install and Uninstall perl-MooseX-Types-LoadableClass Package on openSuSE Tumbleweed
Last updated: November 07,2024
1. Install "perl-MooseX-Types-LoadableClass" package
Here is a brief guide to show you how to install perl-MooseX-Types-LoadableClass on openSuSE Tumbleweed
$
sudo zypper refresh
Copied
$
sudo zypper install
perl-MooseX-Types-LoadableClass
Copied
2. Uninstall "perl-MooseX-Types-LoadableClass" package
Please follow the step by step instructions below to uninstall perl-MooseX-Types-LoadableClass on openSuSE Tumbleweed:
$
sudo zypper remove
perl-MooseX-Types-LoadableClass
Copied
3. Information about the perl-MooseX-Types-LoadableClass package on openSuSE Tumbleweed
Information for package perl-MooseX-Types-LoadableClass:
--------------------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : perl-MooseX-Types-LoadableClass
Version : 0.015-1.25
Arch : noarch
Vendor : openSUSE
Installed Size : 29.0 KiB
Installed : No
Status : not installed
Source package : perl-MooseX-Types-LoadableClass-0.015-1.25.src
Upstream URL : http://search.cpan.org/dist/MooseX-Types-LoadableClass/
Summary : ClassName type constraint with coercion to load the class
Description :
use Moose::Util::TypeConstraints;
my $tc = subtype as ClassName;
coerce $tc, from Str, via { Class::Load::load_class($_); $_ };
I've written those three lines of code quite a lot of times, in quite a lot
of places.
Now I don't have to.
--------------------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : perl-MooseX-Types-LoadableClass
Version : 0.015-1.25
Arch : noarch
Vendor : openSUSE
Installed Size : 29.0 KiB
Installed : No
Status : not installed
Source package : perl-MooseX-Types-LoadableClass-0.015-1.25.src
Upstream URL : http://search.cpan.org/dist/MooseX-Types-LoadableClass/
Summary : ClassName type constraint with coercion to load the class
Description :
use Moose::Util::TypeConstraints;
my $tc = subtype as ClassName;
coerce $tc, from Str, via { Class::Load::load_class($_); $_ };
I've written those three lines of code quite a lot of times, in quite a lot
of places.
Now I don't have to.