3 ms·
I stopped using perl in '95 when I tried to make a multidimensional array and the syntax was nearly impossible to figure out. Switched to Python and was happy
by dekhn 7y ago
I stopped using perl in '95 when I tried to make a multidimensional array and the syntax was nearly impossible to figure out. Switched to Python and was happy to see that the Numeric library was released that gave matlab-like array behavior to python.
I know some folks in the bioinformatics community who still write CGIs in perl and I really have to wonder why.
- jlokier 7y agoThe 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.