in reply to Help with multi-dimensional arrays (list of lists)
Hi,
in your code,
or similar pushes, you are pushing the reference. i.e. the operator [ ] will create an array, with same contents as that of @biu_z and return a reference to the new array. (see Anonymous Arrays)push @biu_yz, [ @biu_z ];
you need to use '->' operator to derefer it. try$biu[$i][4][$k] = $u25;
$biu->[$i][4][$k] = $u25;
Cheers !
--VC
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Help with multi-dimensional arrays (list of lists)
by ikegami (Patriarch) on Nov 26, 2007 at 16:28 UTC |