Jerry Gay (via RT) wrote:
> ...an Exporter PMC that defines an api for
> exporting.

Proposed interface:

$P0 = new Exporter
$P0.import($P1, ['KeyTo'; 'ImportedNamespace'], $P2)

where $P1 is the current namespace, and $P2 is an array of sub names to
import. It'd be even better if we could have the method detect the
namespace of its caller, rather than having to pass it in manually.


Likely we'll eventually want functionality along the lines of Perl 5's
@EXPORT, @EXPORT_OK, and %EXPORT_TAGS (with some more Parroty interface
to the features).

Allison

Reply via email to