How to Install and Uninstall libexporter-lite-perl Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 16,2024

1. Install "libexporter-lite-perl" package

Please follow the instructions below to install libexporter-lite-perl on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install libexporter-lite-perl

2. Uninstall "libexporter-lite-perl" package

Please follow the instructions below to uninstall libexporter-lite-perl on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove libexporter-lite-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libexporter-lite-perl package on Ubuntu 20.10 (Groovy Gorilla)

Package: libexporter-lite-perl
Architecture: all
Version: 0.08-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: 26
Depends: perl
Filename: pool/universe/libe/libexporter-lite-perl/libexporter-lite-perl_0.08-1_all.deb
Size: 9916
MD5sum: dd8cb35386e4a4e737ac95ad1f0ab08b
SHA1: 2ee61eead21b49da95991b867bab2dbc9cfa9136
SHA256: 4ae7eda210cc2855ef86b9360d03f07d39eaaf601eceede37a2a181fa93b666e
SHA512: 262df9b8280ed5c14a8f4616b331cb8d1acce050ded5f6b149f521300a1f1218ac92f45bef569d18867b83102371ca3271cc68c0bbe7f0f66e27dd3464169a97
Homepage: https://metacpan.org/release/Exporter-Lite
Description-en: lightweight subset of Exporter
Exporter::Lite is an alternative to Exporter, intended to provide a
lightweight subset of the most commonly-used functionality. It supports
import(), @EXPORT and @EXPORT_OK and not a whole lot else.
.
Unlike Exporter, it is not necessary to inherit from Exporter::Lite (ie. no
@ISA = qw(Exporter::Lite) mantra). Exporter::Lite simply exports its import()
function into your namespace. This might be called a "mix-in" or a "role".
.
Setting up a module to export its variables and functions is simple:
.
package My::Module;
use Exporter::Lite;
.
@EXPORT = qw($Foo bar);
.
Functions and variables listed in the @EXPORT package variable are
automatically exported if you use the module and don't explicitly list any
imports. Now, when you use My::Module, $Foo and bar() will show up.
Description-md5: 8e26c84d5a11a8382ee75c9541b4eb50