If I understand correctly $array->[$vi]->[$vj]->[$vk] resolves to $array->[4]->[3]->[2], agreed? You could be using a 'multidimensional' hash here, because as I understand it, you're not utilising the array indices properly, but rather should have hash keys to lookup items.
Well it really depends on how sparse his values are. The fact being that as you correctly hint by quoting, 'multidimensional' hashes are not really, either. One advantage of them over the other approach is that of not incurring in references which could require cloning.
In reply to Re^2: multidimensional arrays
by blazar
in thread multidimensional arrays
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |