Do you know where your variables are? | |
PerlMonks |
Re: Help with multi-dimensional arrays (list of lists)by atemon (Chaplain) |
on Nov 26, 2007 at 16:03 UTC ( [id://653016]=note: print w/replies, xml ) | Need Help?? |
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) When you try to access the value by you need to use '->' operator to derefer it. try
Cheers ! --VC
In Section
Seekers of Perl Wisdom
|
|