in reply to How to store arrays in another array
You want to store a reference to the array. $rows[0] = \@row1; or push @rows, \@row1; for example. See perlref, perldsc, perllol.
Additionally: referencing a single element of an array with a @ sigil is (pretty much always) wrong; if you mean a single element use $foo[$idx].
The cake is a lie.
The cake is a lie.
The cake is a lie.
|
|---|