in reply to Re^2: Multidimensional Arrays
in thread Multidimensional Arrays
This works, too:
I think ist is a little bit clearer (from in to out): 1. fetch array element 0, 2. dereference, 3. treat it like an array, 4. fetch via [$i].@{${$another[0]}}[$i]
But this all looks really ugly. It would be better to fix the strange assignment to @another than to use such a complicated expression just to fetch a value...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Multidimensional Arrays
by wfsp (Abbot) on Nov 25, 2004 at 11:22 UTC |
In Section
Tutorials