2 ms·
The Perl syntax to access a multidimensional array will be familiar to programmers in any other mainstream language: my $array = [ [1, 2, 3], [4, 5, 6] ];
by jlokier 7y ago
The Perl syntax to access a multidimensional array will be familiar to programmers in any other mainstream language:
my $array = [ [1, 2, 3], [4, 5, 6] ];
say $array->[1][1]; # Prints 5, as you'd expect.
It's really not that arcane.