>>>>> "DC" == Damian Conway <[EMAIL PROTECTED]> writes:
DC> I don't see why. Import to- and export from- a module could (and
DC> probably should) be entirely orthogonal. So perhaps exportation should
DC> be via mixin:
DC> use Foo �foo $foocount�, our &bar;
DC> &foo does export;
DC> $foocount does export(:MANDATORY);
DC> sub localsub does export {...}
DC> my $localvar does export;
DC> sub AUTOLOAD {...} # implements &baz and &qux
DC> sub baz does export {...} # stub for autoloaded sub
how would you handle %EXPORT_TAGS and @EXPORT_OK?
i do like marking each exportable thing with does export as that removes
the redunancy of the names in the declaration and the @EXPORTS. but it
trades it for many copies of does export which i think is ok.
uri
--
Uri Guttman ------ [EMAIL PROTECTED] -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org