> 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?
Maybe:? my ($y) ^= @ARGS; Luke