How to Install and Uninstall perl-MooX-StrictConstructor Package on openSUSE Leap

Last updated: June 18,2024

1. Install "perl-MooX-StrictConstructor" package

This guide let you learn how to install perl-MooX-StrictConstructor on openSUSE Leap

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

2. Uninstall "perl-MooX-StrictConstructor" package

Please follow the steps below to uninstall perl-MooX-StrictConstructor on openSUSE Leap:

$ sudo zypper remove perl-MooX-StrictConstructor

3. Information about the perl-MooX-StrictConstructor package on openSUSE Leap

Information for package perl-MooX-StrictConstructor:
----------------------------------------------------
Repository : Main Repository
Name : perl-MooX-StrictConstructor
Version : 0.011-bp155.1.4
Arch : noarch
Vendor : openSUSE
Installed Size : 31.1 KiB
Installed : No
Status : not installed
Source package : perl-MooX-StrictConstructor-0.011-bp155.1.4.src
Upstream URL : https://metacpan.org/release/MooX-StrictConstructor
Summary : Make your Moo-based object constructors blow up on unknown attributes
Description :
Simply loading this module makes your constructors "strict". If your
constructor is called with an attribute init argument that your class does
not declare, then it dies. This is a great way to catch small typos.
Your application can use Carp::Always to generate stack traces on 'die'.
Previously all exceptions contained traces, but this could potentially leak
sensitive information, e.g.
My::Sensitive::Class->new( password => $sensitive, extra_value => 'foo' );