How to Install and Uninstall libuniversal-require-perl Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 19,2024

1. Install "libuniversal-require-perl" package

Please follow the step by step instructions below to install libuniversal-require-perl on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libuniversal-require-perl

2. Uninstall "libuniversal-require-perl" package

This tutorial shows how to uninstall libuniversal-require-perl on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libuniversal-require-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libuniversal-require-perl package on Ubuntu 21.10 (Impish Indri)

Package: libuniversal-require-perl
Architecture: all
Version: 0.18-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: 22
Depends: perl
Replaces: libuniversal-exports-perl
Filename: pool/universe/libu/libuniversal-require-perl/libuniversal-require-perl_0.18-1_all.deb
Size: 8128
MD5sum: 72909703b66fa87045397300fdad48e0
SHA1: ae7040713cd6fbc3bc886f2d0ecbda0a671bce65
SHA256: a53c68161a2b7576f037979d0a0f47da857107c3eea9da5e2bbe46aca5915334
SHA512: 9635748c72f5c1496bf3805eb5a9ade3dc2b218c59a90edb9530fb368bb481e59c4125f1d2c8d183eeaef6b1b916f5405888783c6a8eb1a8e44aad3e1fe41fc4
Homepage: https://metacpan.org/release/UNIVERSAL-require
Description-en: Load modules from a variable
This works exactly like the standard require in Perl, except without
the bareword restriction, and it does not die. Since require() is
placed in the UNIVERSAL namespace, it will work on any module. You
just have to use UNIVERSAL::require somewhere in your code.
.
If you have ever had to do this...
.
eval "require $module";
.
to get around the bareword caveats on require(), this module is for
you. It creates a universal require() class method that will work
with every Perl module and it is secure. So instead of doing some
arcane eval() work, you can do this:
.
$module->require;
.
It does not save you much typing, but it will make a lot more sense
to someone who is not a ninth level Perl acolyte.
.
Also provided is a use() method which works in a similar way.
Description-md5: d4e73be3c5bf46c4ae316573de19679e