in reply to Re^2: What defines the choice of a Hash or an Array?
in thread What defines the choice of a Hash or an Array?

Uses less space than a hash (I think)

Unless you're using e.g. phone-numbers as the index: see the sparse array point above. "Uses less space per value than an array" would be better but kind of obvious - Perl has to store the key as well.

  • Comment on Re^3: What defines the choice of a Hash or an Array?