3 ms·
That's because Perl does not have arrays. You've been using hashes. In practice, Perl is not expected to be fast, so I don't think there's any difference.
by marcosdumay 13y ago
That's because Perl does not have arrays. You've been using hashes.
In practice, Perl is not expected to be fast, so I don't think there's any difference.
- neild 13y agoThis is not correct. Perl has arrays and, as the person you are replying to said, allows the index of the first array element to be changed globally by setting a special variable. $[, if I recall correctly.