in reply to Re^2: Multidimensional arrays
in thread Multidimensional arrays

The multidimensional hashes were actually used for multidimensional array (or hash) emulation, before references were added in perl5 to make those and more complex structures far easier. The old style is still supported, but modern reference-based structures are almost always preferable: see $SUBSCRIPT_SEPARATOR.

Also, there is nothing wrong with multidimensional arrays. In fact they are so useful, they even have their own manpage: perllol.

Replies are listed 'Best First'.
Re^4: Multidimensional arrays
by Bod (Parson) on Jun 06, 2023 at 17:15 UTC
    Also, there is nothing wrong with multidimensional arrays

    Thanks hv.
    I feel I was thinking about multidimensional hashes when I recall reading that they shouldn't be used now. See my reply to choroba Re^4: Multidimensional arrays