On Fri, Mar 27, 2015 at 8:27 PM, Nathan Brown <nbrow...@gmail.com> wrote:
> If you put the attribute is export on a sub, then it is part of the :DEFAULT
> and :ALL tagsets. That means you can import them by:
> use Bar :DEFAULT;
Okay, I'll try that.
> http://design.perl6.org/S11.html#Dynamic_exportation states:
> The default EXPORTALL handles symbol exports by removing recognized export
> items and tagsets from the argument list, then calls the EXPORT subroutine
> in that package (if there is one), passing in the remaining arguments.
> The bold text is my emphasis. It seems to imply that in perl6 you can only
> import by tagsets without implementing an EXPORT subroutine.
> This strikes me as weird because of this example in S11:
> use Sense <common @horse>;
> but I couldn't find any examples in the spec tests. Am I missing something?
My question too.