develooper Front page | perl.perl6.users | Postings from October 2018

<> thank you

Thread Next
Todd Chester
October 5, 2018 06:30
<> thank you
Message ID:
Hi All,

I went to reply to someone, I think it was Brandon for sending me
an eMail to my private address and the stinker disappeared!

Anyway whoever sent me

     $ p6 'say <the quick brown>[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 <unit> at -e line 1

And you beat me to the punch!  It was the <>.

Thank you!


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About