Re: push() practice: misplaced semicolon creates list elements within array?

2019-05-01 Thread JJ Merelo
El dom., 14 abr. 2019 a las 22:27, yary () escribió: > Looks like perl6 semicolon has different meaning in a list vs a capture. > In a list, it "makes sense to me" > > > perl6 --version > This is Rakudo Star version 2018.10 built on MoarVM version 2018.10 > implementing Perl 6.c. > >perl6 > To exi

Re: push() practice: misplaced semicolon creates list elements within array?

2019-05-01 Thread William Michels via perl6-users
Thank you yary. I'm not sure we've seen any clarification on this. There's a reference to "Literal Lists" in the Perl 6 docs that looks related, but I don't have a "plain-speak" explanation for how semicolons, lists, push() and arrays inter-relate. https://docs.perl6.org/language/list Hoping a P

Re: push() practice: misplaced semicolon creates list elements within array?

2019-05-01 Thread William Michels via perl6-users
Hello Richard and thank you for your comment, I'm not sure I have clarity on the use of semicolons in Perl 6. Most references in the documentation refer to the semicolon as a statement separator. Many references point out where semicolons are optional (e.g. particular lines within blocks). Now fo