http://www.perlmonks.org?node_id=11113417


in reply to Re: reading input into a number of arrays
in thread reading input into a number of arrays

You can emulate multi-dimentional arrays with hashes though. It's a feature not many people use.

my %multidim; my $x = 3; my $y = 4; $multidim{ $x, $y } = 42; print $multidim{ $x, $y }, "\n";