Parens are usually needed because of precedence when embedding the List into another expression. The comma does have another meaning: it's the separator in argument lists.my @a := 1,2; say @a.^name; #List my @b := 1,; say @b.^name; #List
In reply to Re^3: [Perl 6]: Small discoveries VII, Flattening
by Anonymous Monk
in thread [Perl 6]: Small discoveries VII, Flattening
by holli
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |