[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#683423: ITP: libimport-into-perl -- Import::Into - import packages into other packages

Package: wnpp
Severity: wishlist
Owner: Nuno Carvalho <smash@cpan.org>

* Package name    : libimport-into-perl
  Version         : 1.001000
  Upstream Author : Matt S. Trout <mst@shadowcat.co.uk>
* URL             : http://search.cpan.org/dist/Import-Into/
* License         : Artistic 1, GPL 1
  Programming Lang: Perl
  Description     : Import::Into - import packages into other packages

Writing exporters is a pain. Some use Exporter, some use Sub::Exporter,
some use Moose::Exporter, some use Exporter::Declare and some things are

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

Reply to: