libexporter-lite-perl binary package in Ubuntu Trusty i386
Exporter::Lite is an alternative to Exporter intended to provide a
lightweight subset of its 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. This might be called a "mix-in".
.
Setting up a module to export its variables and functions is simple:
.
package My::Module;
use Exporter::Lite;
.
@EXPORT = qw($Foo bar);
Publishing history
Date | Status | Target | Component | Section | Priority | Phased updates | Version | ||
---|---|---|---|---|---|---|---|---|---|
2013-10-18 14:25:21 UTC | Published | Ubuntu Trusty i386 | release | main | perl | Optional | 0.02-2 | ||
|