in reply to Re^2: Anonymous Reference???
in thread Anonymous Reference???
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).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Anonymous Reference???
by sk (Curate) on Sep 12, 2005 at 04:38 UTC |