How to Install and Uninstall libmoox-struct-perl Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 15,2024

1. Install "libmoox-struct-perl" package

In this section, we are going to explain the necessary steps to install libmoox-struct-perl on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libmoox-struct-perl

2. Uninstall "libmoox-struct-perl" package

Please follow the guidance below to uninstall libmoox-struct-perl on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libmoox-struct-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libmoox-struct-perl package on Ubuntu 21.04 (Hirsute Hippo)

Package: libmoox-struct-perl
Architecture: all
Version: 0.020-1
Priority: optional
Section: perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 54
Depends: libb-hooks-endofscope-perl, libexporter-tiny-perl (>= 0.044), libmoo-perl, libnamespace-autoclean-perl, libobject-id-perl, libtype-tiny-perl, perl:any
Filename: pool/main/libm/libmoox-struct-perl/libmoox-struct-perl_0.020-1_all.deb
Size: 23680
MD5sum: dcfc0fc62aecf9ab624e9110a43254f1
SHA1: 8e69ded862614a2b1cd8b2f8bcb463ddb3be8829
SHA256: 800782ba43f589c8cb56e392d335bda555d3ecafcc59e9c913d54fea47cd46b3
SHA512: 5a94d6f44ca1ab63eff864b65adc93d42965c973fe7354b56b7136ea3f40a62cc44804173f4e7d1f75d41e26c6057237ea2cacbda5690abd800a897b897ec2f8
Homepage: https://metacpan.org/release/MooX-Struct
Description-en: simple lightweight record-like structures making sounds like cows
MooX::Struct allows you to create cheap struct-like classes
for your data using Moo.
.
While similar in spirit to MooseX::Struct and Class::Struct,
MooX::Struct has a somewhat different usage pattern.
Rather than providing you with a "struct" keyword
which can be used to define structs,
you define all the structs as part of the "use" statement.
This means they happen at compile time.
.
A struct is just an "anonymous" Moo class.
MooX::Struct creates this class for you,
and installs a lexical alias for it in your namespace.
Thus your module can create a "Point3D" struct,
and some other module can too,
and they won't interfere with each other.
All struct classes inherit from MooX::Struct.
Description-md5: 209c9706901e1ae9366553b2027194bb