libimport-into-perl binary package in Ubuntu Trusty i386
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.
Publishing history
Date | Status | Target | Component | Section | Priority | Phased updates | Version | ||
---|---|---|---|---|---|---|---|---|---|
2013-12-26 05:33:30 UTC | Published | Ubuntu Trusty i386 | release | universe | perl | Optional | 1.002000-1 | ||
|
|||||||||
Deleted | Ubuntu Trusty i386 | proposed | universe | perl | Optional | 1.002000-1 | |||
|
|||||||||
2013-12-26 05:34:09 UTC | Superseded | Ubuntu Trusty i386 | release | universe | perl | Optional | 1.001001-1 | ||
|
|||||||||
2013-12-27 06:10:14 UTC | Deleted | Ubuntu Trusty i386 | proposed | universe | perl | Optional | 1.001001-1 | ||
|
|||||||||
2013-10-23 14:29:37 UTC | Superseded | Ubuntu Trusty i386 | release | universe | perl | Optional | 1.001000-1 | ||
|