Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



This 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.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: