in reply to 2D arrays
The most important thing to understand about all data structures in Perl--including multidimensional arrays--is that even though they might appear otherwise, Perl @ARRAY s and %HASH es are all internally one-dimensional. They can hold only scalar values (meaning a string, number, or a reference). They cannot directly contain other arrays or hashes, but instead contain references to other arrays or hashes.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: 2D arrays
by Anonymous Monk on Jul 03, 2012 at 12:04 UTC |