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

* Package name    : libimport-into-perl
  Version         : 1.001000
  Upstream Author : Matt S. Trout <m...@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
pragmas.

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.


-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120731181327.6745.95379.reportbug@localhost

Reply via email to