Larry Wall wrote: > Parens don't construct lists in Perl 6. They merely group. > The only difference from Perl 5 is that if they happen to group a > comma in scalar context, the comma acts differently, not the parens.
Do parens still provide list context on the left side of an assignment? What do these two do: my $x = @ARGS; my ($y) = @ARGS; Parens just grouping suggests that C<$x> and C<$y> should be the same (which may well be good, as it's a subtle distinction which trips up many beginners in Perl 5). If so, what's the preferred way of getting the 'other' behaviour? Smylers