[perl #128090] [RFC] Easy Way to Export Only Specific Symbols At Compile Time

2017-11-27 Thread Zoffix Znet via RT
On Thu, 30 Jun 2016 05:12:09 -0700, c...@zoffix.com wrote: > There was a comment on IRC from someone who doesn't have an account > (http://irclog.perlgeek.de/perl6/2016-06-30#i_12762654 ): > > use Module :ONLY; > > I do like :ONLY more than my original :SYM Just got bitten by this in real-life

[perl #128090] [RFC] Easy Way to Export Only Specific Symbols At Compile Time

2017-11-27 Thread Zoffix Znet via RT
On Thu, 30 Jun 2016 05:12:09 -0700, c...@zoffix.com wrote: > There was a comment on IRC from someone who doesn't have an account > (http://irclog.perlgeek.de/perl6/2016-06-30#i_12762654 ): > > use Module :ONLY; > > I do like :ONLY more than my original :SYM Just got bitten by this in real-life

Re: [perl #128090] [RFC] Easy Way to Export Only Specific Symbols At Compile Time

2016-05-08 Thread Lloyd Fournier
Something like this has also passed through my head. What about use Test :ALL<&is &ok> or use Test :SOME-TAG<&foo &bar>. so you can filter out what you want with arguments to the tag. This seems to be better and more backwards-compy because with current rakudo use Test :ALL<&is &ok> will still wo

[perl #128090] [RFC] Easy Way to Export Only Specific Symbols At Compile Time

2016-05-06 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #128090] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=128090 > Currently, there seems to be no easy way to import only specific symbols from a module *a