libexporter-lite-perl

lightweight subset of Exporter

Description

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.

Exporter::Lite simply exports its import() function into your namespace. This might be called a "mix-in" or a "role".

When Exporter::Lite was written, if you wanted to use Exporter you had to write something like this:

 use Exporter;
 our @ISA = qw/ Exporter /;

Exporter::Lite saved you from writing that second line. But since before 2010 you've been able to write:

 use Exporter qw/ import /;

which imports the import function into your namespace from Exporter.

As a result, it is recommended to use Exporter now, as it's a core module (shipped with Perl).

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/Exporter-Lite


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libexporter-lite-perl