Re: <> thank you

2018-10-05 Thread ToddAndMargo via perl6-users
On 10/5/18 5:24 AM, Brad Gilbert wrote: <> is part of the quoting sub-language Hi Brad, Thank you! I copied it into my keeper file on <> -T

Re: <> thank you

2018-10-05 Thread Brad Gilbert
<> is part of the quoting sub-language It is short for q:w' a b c d ' which is short for q:words' a b c d ' Note that you can add spaces q :words ' a b c d ' Even this is short. I'm going to show you various ways of writing the exact same thing q :w(1) ' a b c d ' q

Re: <> thank you

2018-10-05 Thread Todd Chester
On 10/5/18 4:51 AM, Laurent Rosenfeld via perl6-users wrote: You don't even need the quotes: > say [3,1]; (Nil cd) > Hi Laurent, A thing of beauty! Not to ask to stupid a question (when has that ever stooped me), but since [] is considered a subroutine, is <> also considered a

Re: <> thank you

2018-10-05 Thread Laurent Rosenfeld via perl6-users
me > >>> > >>> $ p6 'say [0,2];' > >>> (the brown) > >>> > >>> I was trying to figure out why this bombed: > >>> > >>> $ p6 ' say "a b c d"[3,1];' > >>>

Re: <> thank you

2018-10-05 Thread Ralph Mellor
nyway whoever sent me > > $ p6 'say [0,2];' > (the brown) > > I was trying to figure out why this bombed: > > $ p6 ' say "a b c d"[3,1];' > Index out of range. Is: 3, should be in 0..0 > in block at -e line 1 > > And you beat me to the punch! It was the <>. > > Thank you! > > -T >

Re: <> thank you

2018-10-05 Thread Todd Chester
y whoever sent me   $ p6 'say [0,2];'   (the brown)     I was trying to figure out why this bombed:   $ p6 ' say "a b c d"[3,1];'   Index out of range. Is: 3, should be in 0..0   in block at -e line 1     And you beat me to the punch!  It was the

Re: <> thank you

2018-10-05 Thread Todd Chester
'say [0,2];' (the brown) I was trying to figure out why this bombed: $ p6 ' say "a b c d"[3,1];' Index out of range. Is: 3, should be in 0..0 in block at -e line 1 And you beat me to the punch! It was the <>. Thank you! -T On

Re: <> thank you

2018-10-05 Thread Laurent Rosenfeld via perl6-users
address and the stinker disappeared! > > Anyway whoever sent me > > $ p6 'say [0,2];' > (the brown) > > I was trying to figure out why this bombed: > > $ p6 ' say "a b c d"[3,1];' > Index out of range. Is: 3, should be in 0..0 > in b

<> thank you

2018-10-05 Thread Todd Chester
Index out of range. Is: 3, should be in 0..0 in block at -e line 1 And you beat me to the punch! It was the <>. Thank you! -T

Re: Thank you guys!

2017-08-05 Thread İsmail Arılık
ToddAndMargo <toddandma...@zoho.com> şunu yazdı: > On 08/04/2017 05:54 PM, ToddAndMargo wrote: > > Today you guys taught me how to > > > > 1) pipe to a one liner > > 2) use split in P6 (a little different than p5) > > 3) lines > > 4) words > > > &g

Thank you guys!

2017-08-04 Thread ToddAndMargo
Today you guys taught me how to 1) pipe to a one liner 2) use split in P6 (a little different than p5) 3) lines 4) words Thank you!