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

Last updated: December 25,2024

1. Install "perl-MooseX-SetOnce" package

This is a short guide on how to install perl-MooseX-SetOnce on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install perl-MooseX-SetOnce

2. Uninstall "perl-MooseX-SetOnce" package

Please follow the guidance below to uninstall perl-MooseX-SetOnce on openSUSE Leap:

$ sudo zypper remove perl-MooseX-SetOnce

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

Information for package perl-MooseX-SetOnce:
--------------------------------------------
Repository : Main Repository
Name : perl-MooseX-SetOnce
Version : 0.203-bp155.1.5
Arch : noarch
Vendor : openSUSE
Installed Size : 25.7 KiB
Installed : No
Status : not installed
Source package : perl-MooseX-SetOnce-0.203-bp155.1.5.src
Upstream URL : https://metacpan.org/release/MooseX-SetOnce
Summary : Write-once, read-many attributes for Moose
Description :
The 'SetOnce' attribute lets your class have attributes that are not lazy
and not set, but that cannot be altered once set.
The logic is very simple: if you try to alter the value of an attribute
with the SetOnce trait, either by accessor or writer, and the attribute has
a value, it will throw an exception.
If the attribute has a clearer, you may clear the attribute and set it
again.