Re: [Boston.pm] perl6 lists

2016-06-23 Thread Uri Guttman
On 06/24/2016 12:01 AM, Greg London wrote: Can't seem to wrap my head around perl6 lists. i can stick my nose in here but don't quote me on it! They're not arrays. They seem to exist almost as literals. When I assign a list to an array, it stops acting like a literal list. the big diff that i

[Boston.pm] perl6 lists

2016-06-23 Thread Greg London
Can't seem to wrap my head around perl6 lists. They're not arrays. They seem to exist almost as literals. When I assign a list to an array, it stops acting like a literal list. This works as expected: for 1,2,3,4 {say "here is $^first";} here is 1 here is 2 here is 3 here is 4 THis does not work