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

Last updated: December 24,2024

1. Install "libuniversal-require-perl" package

Learn how to install libuniversal-require-perl on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "libuniversal-require-perl" package

Learn how to uninstall libuniversal-require-perl on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: libuniversal-require-perl
Priority: optional
Section: universe/perl
Installed-Size: 51
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Architecture: all
Version: 0.17-1
Replaces: libuniversal-exports-perl
Depends: perl
Filename: pool/universe/libu/libuniversal-require-perl/libuniversal-require-perl_0.17-1_all.deb
Size: 8612
MD5sum: 2584b5ffc74c88fa557679e42c9ffbdd
SHA1: 4ab50e02c7f5a09ca83d421e71a70d4dbf981b17
SHA256: 787ee37da79afc322a93c4e4eaa90c8bf1d83ed3b62dc9494a533b44aaf96aab
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
Homepage: https://metacpan.org/release/UNIVERSAL-require
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu