in reply to Re: multidimensional arrays
in thread multidimensional arrays

thanks. your idea of chaining the arrayrefs by working backwards is interesting. i'll try this out.

the $netlist is actually a data structure also. part of it is populated at the time the multidimensional array is created and the rest of it is populated afterwards.

the use of multidimensional array was attractive because the "population afterwards" code requires accessing this many times. arrays are easily accessed; hash are not.

Replies are listed 'Best First'.
Re^3: multidimensional arrays
by blazar (Canon) on Jun 10, 2007 at 20:47 UTC
    arrays are easily accessed; hash are not.

    I see that you solved your problem, though I'm curious as to know what you meant with this. In fact arrays and hashes are very similar beasts. The main difference from the user's POV being that the former ones have indices wich are natural numbers (but for $[, I know, I know...) and the latter ones generic strings.