How to Install and Uninstall libmoosex-setonce-perl Package on Ubuntu 16.04 LTS (Xenial Xerus)
Last updated: November 25,2024
1. Install "libmoosex-setonce-perl" package
Learn how to install libmoosex-setonce-perl on Ubuntu 16.04 LTS (Xenial Xerus)
$
sudo apt update
Copied
$
sudo apt install
libmoosex-setonce-perl
Copied
2. Uninstall "libmoosex-setonce-perl" package
This tutorial shows how to uninstall libmoosex-setonce-perl on Ubuntu 16.04 LTS (Xenial Xerus):
$
sudo apt remove
libmoosex-setonce-perl
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the libmoosex-setonce-perl package on Ubuntu 16.04 LTS (Xenial Xerus)
Package: libmoosex-setonce-perl
Priority: optional
Section: universe/perl
Installed-Size: 48
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Architecture: all
Version: 0.200002-1
Depends: perl, libmoose-perl, libtry-tiny-perl
Filename: pool/universe/libm/libmoosex-setonce-perl/libmoosex-setonce-perl_0.200002-1_all.deb
Size: 6716
MD5sum: 347a8621b6c733eb023b00e79b92aa5d
SHA1: d8f7f4026807fc70d9a902302cb324a4074d6ccc
SHA256: 522d35dec3bc1e6d4a2070a8167af5c0acd93c4e2a2589d58741965c6dbac757
Description-en: module providing write-once, read-many attributes for Moose
MooseX::SetOnce provides the SetOnce attribute which 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.
Description-md5: d9f5fcf353a7d29f4d1de2c6b615893d
Enhances: libmoose-perl
Homepage: https://metacpan.org/release/MooseX-SetOnce/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Priority: optional
Section: universe/perl
Installed-Size: 48
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Architecture: all
Version: 0.200002-1
Depends: perl, libmoose-perl, libtry-tiny-perl
Filename: pool/universe/libm/libmoosex-setonce-perl/libmoosex-setonce-perl_0.200002-1_all.deb
Size: 6716
MD5sum: 347a8621b6c733eb023b00e79b92aa5d
SHA1: d8f7f4026807fc70d9a902302cb324a4074d6ccc
SHA256: 522d35dec3bc1e6d4a2070a8167af5c0acd93c4e2a2589d58741965c6dbac757
Description-en: module providing write-once, read-many attributes for Moose
MooseX::SetOnce provides the SetOnce attribute which 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.
Description-md5: d9f5fcf353a7d29f4d1de2c6b615893d
Enhances: libmoose-perl
Homepage: https://metacpan.org/release/MooseX-SetOnce/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu