How to Install and Uninstall libperlx-maybe-perl Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 07,2024

1. Install "libperlx-maybe-perl" package

Please follow the step by step instructions below to install libperlx-maybe-perl on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "libperlx-maybe-perl" package

Please follow the instructions below to uninstall libperlx-maybe-perl on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the libperlx-maybe-perl package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: libperlx-maybe-perl
Priority: optional
Section: universe/perl
Installed-Size: 79
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Architecture: all
Version: 1.001-1
Depends: libmodule-manifest-skip-perl, perl
Recommends: libperlx-maybe-xs-perl
Suggests: libsyntax-perl
Filename: pool/universe/libp/libperlx-maybe-perl/libperlx-maybe-perl_1.001-1_all.deb
Size: 12836
MD5sum: 37fde39dbafd1ccd158d03a4f430ff7f
SHA1: d636aec3a686c11f986b4b19a83a161d6fdac6ff
SHA256: a4c7c2270442ecf803b9913599dcc428e2f88bdcac1a4c926e7ddd8a2dc30553
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
Homepage: https://metacpan.org/release/PerlX-Maybe
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu