On Tue, 25 Oct 2016 08:22:19 -0700, tbrowder wrote:
> > 2. Enable multiple export tags to better organize export categories.
>
> Disregard, this is possible now.
Well, mostly. Note you still cannot export different values for the same symbol
based on a tag (i.e. without sub EXPORT)
$ perl6 -e
In a conversation about this issue on IRC channel #perl6 on 25 Oct 2016
starting at approx 06:24, module authors and users express concern about
modules polluting the user's namespace.
Several main desires IMHO:
User:
1. Selective import by object name(s) or tag(s).
2. Selective import by exc
gfldex++ for blogging.
My basic feeling about documentation is that it should:
1. Explain the construct, it's purpose and behaviour.
2. Give code examples that explain one thing and do it well.
The original example was there to explain that you would not get DEFAULT
exports if you pass a positio
On Mon, 18 Jan 2016, Lloyd Fournier via RT wrote:
gfldex, I see you've edited the second EXPORT example, but to me it's made
it much less clear what's going on.
I'm not happy with that example myself and intend to change it.
I see where you are going, trying to show that the power of ::T ty
I am going to sneak in a docs discussion into this ticket with regards to
EXPORT some relevant parties are here.
http://docs.perl6.org/language/modules#EXPORT
I mentioned when I wrote it:
"Note, EXPORT can't be declared inside a package because presently rakudo
(2015.09) seems to treat EXPORT as
On Sun Jan 17 22:29:57 2016, gfldex wrote:
> # https://gist.github.com/b0d44595e0d3b314a09d
>
> # Module.pm6
> unit module Module;
>
> sub EXPORT ($var) {
> { foo => sub () {} }
> }
>
> # use-module.p6
>
> use v6;
> use lib '.';
> use Module 42;
>
> # OUTPUT:
> # Error while importing
# New Ticket Created by Wenzel Peppmeyer
# Please include the string: [perl #127305]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=127305 >
# https://gist.github.com/b0d44595e0d3b314a09d
# Module.pm6
unit module Module;
sub