libimport-into-perl 1.001001-1 source package in Ubuntu
Changelog
libimport-into-perl (1.001001-1) unstable; urgency=low * Team upload. [ Salvatore Bonaccorso ] * Change Vcs-Git to canonical URI (git://anonscm.debian.org) * Change search.cpan.org based URIs to metacpan.org based URIs [ gregor herrmann ] * New upstream release. * Declare compliance with Debian Policy 3.9.4. -- gregor herrmann <email address hidden> Tue, 22 Oct 2013 20:08:17 +0200
Upload details
- Uploaded by:
- Debian Perl Group
- Uploaded to:
- Sid
- Original maintainer:
- Debian Perl Group
- Architectures:
- all
- Section:
- perl
- Urgency:
- Low Urgency
See full publishing history Publishing
Series | Published | Component | Section |
---|
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libimport-into-perl_1.001001-1.dsc | 2.0 KiB | 4d050475fe19501c8be60577fe1fa215eb26e538acb97340c5bc016921c50d03 |
libimport-into-perl_1.001001.orig.tar.gz | 4.7 KiB | e51b427bb394e43cbcba7965a74f1291cc15de22dc88e456a51f3e591fed12f4 |
libimport-into-perl_1.001001-1.debian.tar.gz | 1.8 KiB | f6879e9864eaefd67fedd03853aeeb857270729254f03907fc8f588335434694 |
Available diffs
- diff from 1.001000-1 to 1.001001-1 (1.8 KiB)
No changes file available.
Binary packages built by this source
- libimport-into-perl: module for importing packages into other packages
Import::Into creates a global method import::into which you can call on
any package to import it into another package. This is useful because
there are many diferent ways to write exporters: some use Exporter, some
use Sub::Exporter, some use Moose::Exporter, some use Exporter::Declare
and some things are pragmas.
.
And if you want to re-export other things, you have to know which is which.
Exporter subclasses provide export_to_level, but if they overrode their
import method all bets are off. Sub::Exporter provides an into parameter
but figuring out something used it isn't trivial. Pragmas need to have
their import method called directly since they affect the current unit of
compilation. Import::Into can be used to import packages into other packages
without having to deal with the specific details of every exporting approach.