libexporter-lite-perl 0.09-2 source package in Ubuntu
Changelog
libexporter-lite-perl (0.09-2) unstable; urgency=medium [ Debian Janitor ] * Apply multi-arch hints. + libexporter-lite-perl: Add Multi-Arch: foreign. -- Jelmer Vernooij <email address hidden> Sat, 22 Oct 2022 10:25:22 +0100
Upload details
- Uploaded by:
- Debian Perl Group
- Uploaded to:
- Sid
- Original maintainer:
- Debian Perl Group
- Architectures:
- all
- Section:
- perl
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Oracular | release | universe | perl | |
Noble | release | universe | perl | |
Mantic | release | universe | perl | |
Lunar | release | universe | perl |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libexporter-lite-perl_0.09-2.dsc | 2.1 KiB | 055c07a1cdb00afa4504690034093624eb22fbb0b9300255a4f0abb2a6d49fc9 |
libexporter-lite-perl_0.09.orig.tar.gz | 6.7 KiB | 79d8b14fd5013922c63e850f15bf51059f2502404535eb6690ef23612c2a198d |
libexporter-lite-perl_0.09-2.debian.tar.xz | 3.7 KiB | a1bb52d7212c31e030c7db38d275afa406084cafb14bcfc3b0b09fd608074647 |
Available diffs
- diff from 0.09-1 to 0.09-2 (524 bytes)
No changes file available.
Binary packages built by this source
- libexporter-lite-perl: 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.
.
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).