[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/p5-Import-Into
Module Name: pkgsrc
Committed By: sno
Date: Fri Oct 19 07:47:13 UTC 2012
pkgsrc/devel/p5-Import-Into: DESCR Makefile distinfo
Adding new package for CPAN module Import::Into version 1.001000 into
Writing exporters is a pain. Some use Exporter, some use Sub::Exporter,
some use Moose::Exporter, some use Exporter::Declare ... and some things
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
It's ... annoying.
However, there is an approach that actually works for all of these types.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/p5-Import-Into/DESCR \
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/p5-Import-Into/patches/patch-aa
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |