How to Install and Uninstall libperlx-maybe-perl Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: October 04,2024

1. Install "libperlx-maybe-perl" package

Please follow the instructions below to install libperlx-maybe-perl on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libperlx-maybe-perl

2. Uninstall "libperlx-maybe-perl" package

Please follow the step by step instructions below to uninstall libperlx-maybe-perl on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libperlx-maybe-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libperlx-maybe-perl package on Ubuntu 21.04 (Hirsute Hippo)

Package: libperlx-maybe-perl
Architecture: all
Version: 1.201-1.1
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 36
Depends: perl:any, libmodule-manifest-skip-perl
Recommends: libperlx-maybe-xs-perl, libexporter-tiny-perl
Suggests: libsyntax-perl
Filename: pool/universe/libp/libperlx-maybe-perl/libperlx-maybe-perl_1.201-1.1_all.deb
Size: 12964
MD5sum: 65b1a00056f1b5169d95e2de5ee77a8f
SHA1: aa431cb79a8085747476c492b8b980a0fe54f510
SHA256: b3f644eda3c412977b21fd623fd7db47fa91bf2bf2e08757f05ebd006f475a4c
SHA512: 723822d6b1f2b6b4ed2d10ab2fb4334c5eca18e92179e2233eb6a6a2caf23076b56c319e133ead75c50a1d299e84c92f9debb8ad480fb9192c6de342dca13e17
Homepage: https://metacpan.org/release/PerlX-Maybe
Description-en: return a pair only if they are both defined
Moose classes (and some other classes) distinguish between an attribute
being unset and the attribute being set to undef. Supplying a
constructor arguments like this:
.
my $bob = Person->new(
name => $name,
age => $age,
);
.
Will result in the "name" and "age" attributes possibly being set to
undef (if the corresponding $name and $age variables are not defined),
which may violate the Person class' type constraints.
.
PerlX::Maybe checks that $x and $y are both defined. If they are, it
returns them both as a list; otherwise it returns the empty list.
.
This package also includes Syntax::Feature::Maybe.
Description-md5: dc7748f268a4655054307561b9f83c3f