in reply to array of arrays
If you believe that
is creating an array of arrays, you are wrong. Multidimensional data structures are created by collecting references -- an array of arrays is really an array of array references, for example. So to do what (I think) you want:push @i2g, @miniarray;
perldoc perlreftut for some more information.push @i2g, [@miniarray];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: array of arrays
by stalkeyefly (Novice) on Jun 16, 2004 at 10:24 UTC | |
by Roy Johnson (Monsignor) on Jun 16, 2004 at 11:53 UTC |