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

Last updated: November 07,2024

1. Install "libmodule-want-perl" package

This is a short guide on how to install libmodule-want-perl on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install libmodule-want-perl

2. Uninstall "libmodule-want-perl" package

This guide let you learn how to uninstall libmodule-want-perl on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove libmodule-want-perl $ sudo apt autoclean && sudo apt autoremove

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

Package: libmodule-want-perl
Priority: optional
Section: universe/perl
Installed-Size: 57
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Architecture: all
Version: 0.6-2
Depends: perl
Filename: pool/universe/libm/libmodule-want-perl/libmodule-want-perl_0.6-2_all.deb
Size: 11342
MD5sum: e5e403e6e8a96c88cb4f704d159f69de
SHA1: 3040d712cf68398b12e528d46c40a740866e5da4
SHA256: e50caf4c01ce90070826861687a33d42895ee463c1868170f0af246d90169238
Description-en: module to check @INC only once for wanted modules
Sometimes you want to lazy load a module for use in, say, a loop or function.
First you do the eval-require but then realize if the module is not available
it will re-search @INC each time. So then you add a lexical boolean to your
eval and do the same simple logic all over the place.
.
Module::Want encapsulates that logic so that have_mod() is like eval {
require X; 1 } but if the module can't be loaded it will remember that fact
and not look in @INC again on subsequent calls.
Description-md5: 4a32e42f6fbe8b2d469bd8094d4aa685
Homepage: https://metacpan.org/release/Module-Want
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu