It does more than affect precedence
$ perl -M5.010 -e'sub f { 4,5,6 } say scalar( my $y = f )' 6 $ perl -M5.010 -e'sub f { 4,5,6 } say scalar( my ($y) = f )' 3
See Re^2: my within brackets above
In reply to Re^2: my within brackets
by ikegami
in thread my within brackets
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |