This is incorrect. In this code:
my @a = ((1,2,3), (4,5,6));... there is only one array: @a. Everything else is a list. Lists are not arrays; lists and arrays behave very differently in various contexts, for example.
The parentheses in the expression are for grouping to change the precedence of the right-side of the assignment, not to create lists (and especially not to create arrays).
In reply to Re^3: Anonymous Reference???
by chromatic
in thread Anonymous Reference???
by awohld
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |