How to Install and Uninstall perl-MooseX-Types-LoadableClass Package on openSUSE Leap

Last updated: November 23,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 Leap

$ sudo zypper refresh $ sudo zypper install perl-MooseX-Types-LoadableClass

2. Uninstall "perl-MooseX-Types-LoadableClass" package

Learn how to uninstall perl-MooseX-Types-LoadableClass on openSUSE Leap:

$ sudo zypper remove perl-MooseX-Types-LoadableClass

3. Information about the perl-MooseX-Types-LoadableClass package on openSUSE Leap

Information for package perl-MooseX-Types-LoadableClass:
--------------------------------------------------------
Repository : Main Repository
Name : perl-MooseX-Types-LoadableClass
Version : 0.015-bp155.2.8
Arch : noarch
Vendor : openSUSE
Installed Size : 29.9 KiB
Installed : No
Status : not installed
Source package : perl-MooseX-Types-LoadableClass-0.015-bp155.2.8.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.