Re: [perl #133541] Grammer bug vs

2018-09-27 Thread Brandon Allbery
"_" is not an alphabetic character. It's allowed in "alnum" because that is by intent what is \w in other regex implementations, which includes "_". On Thu, Sep 27, 2018 at 10:47 PM Vijayvithal wrote: > # New Ticket Created by Vijayvithal > # Please include the string: [perl #133541] > # in

Re: [perl #133541] Grammer bug vs

2018-09-27 Thread Brandon Allbery via RT
"_" is not an alphabetic character. It's allowed in "alnum" because that is by intent what is \w in other regex implementations, which includes "_". On Thu, Sep 27, 2018 at 10:47 PM Vijayvithal wrote: > # New Ticket Created by Vijayvithal > # Please include the string: [perl #133541] > # in

[perl #133541] Grammer bug vs

2018-09-27 Thread via RT
# New Ticket Created by Vijayvithal # Please include the string: [perl #133541] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=133541 > In the attached code, the only difference between the Grammars G0 and G1 is the

Re: Could this be any more obscure?

2018-09-27 Thread Alessandro Costantini
> Il giorno 26 set 2018, alle ore 08:57, Todd Chester > ha scritto: > > Hi All, > > Over on >https://docs.perl6.org/routine/words > I see > > multi method words(Str:D $input: $limit = Inf --> Positional) $input is the method invocant (hence the “:”) constrained to a defined string

Re: Could this be any more obscure?

2018-09-27 Thread Brad Gilbert
In Perl 6 most normal operators are subroutines: @a[1..3] :« [ ] »( @a,1..3 ) # same as above Since they are just subroutines they often just call something else. # an overly simplified version sub postcircumfix:« [ ] » ( @array, **@indicies ) { gather {

Re: Could this be any more obscure?

2018-09-27 Thread Laurent Rosenfeld via perl6-users
> I am NOT asking it to limit my request to Infinity. Yes you are, implicitly. If you don't pass any parameter for $limit, $limit will take the default value supplied by the signature, i.e. Inf. Le jeu. 27 sept. 2018 à 02:48, ToddAndMargo a écrit : > On 9/26/18 4:33 PM, The Sidhekin wrote: >

Re: Could this be any more obscure?

2018-09-27 Thread JJ Merelo
El jue., 27 sept. 2018 a las 3:51, ToddAndMargo () escribió: > On 9/26/18 6:31 PM, ToddAndMargo wrote: > > On 9/26/18 6:18 PM, Curt Tilmes wrote:> > > > > The methods don't take []. You are calling [] on the thing > > that the > > > > methods return. > > > >>> > >>> Yes, I know.

Re: Could this be any more obscure?

2018-09-27 Thread JJ Merelo
El jue., 27 sept. 2018 a las 3:19, Brandon Allbery () escribió: > Additionally: Perl 5 docs don't run into this because perl 5 has only 3 > types: scalar, list, hash. > > Perl 6 has lots of types, each of which has its own behavior. We use roles > to package up common > _and_ roles _and_

Re: Could this be any more obscure?

2018-09-27 Thread JJ Merelo
El mié., 26 sept. 2018 a las 23:31, Laurent Rosenfeld via perl6-users (< perl6-us...@perl.org>) escribió: > You can set a limit to the number of items (words) you want to retrieve: > you will get only the first $limit words. > > If you don't supply any limit, Inf can be thought as the default