libimport-into-perl 1.002005-2 source package in Ubuntu
Changelog
libimport-into-perl (1.002005-2) unstable; urgency=medium [ Salvatore Bonaccorso ] * debian/control: Use HTTPS transport protocol for Vcs-Git URI [ gregor herrmann ] * debian/copyright: change Copyright-Format 1.0 URL to HTTPS. [ Salvatore Bonaccorso ] * Update Vcs-* headers for switch to salsa.debian.org [ gregor herrmann ] * debian/watch: use uscan version 4. -- Jelmer Vernooij <email address hidden> Wed, 15 Jun 2022 00:42:34 +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 | main | perl | |
Noble | release | main | perl | |
Mantic | release | main | perl | |
Lunar | release | main | perl |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libimport-into-perl_1.002005-2.dsc | 2.1 KiB | f6fe162b6dc25d37ebce24895464d1d92de83e7b32af5dab60d4bf183e3dd56f |
libimport-into-perl_1.002005.orig.tar.gz | 7.6 KiB | bd9e77a3fb662b40b43b18d3280cd352edf9fad8d94283e518181cc1ce9f0567 |
libimport-into-perl_1.002005-2.debian.tar.xz | 2.5 KiB | 00bbc0b436ef1f7fa9e6e7d17056155c653d3295dec3cddfa7accbfb70d84193 |
Available diffs
- diff from 1.002005-1 to 1.002005-2 (1.3 KiB)
- diff from 1.002005-1.1 to 1.002005-2 (1.2 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 different 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.