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.
In reply to Re^3: What defines the choice of a Hash or an Array?
by Anonymous Monk
in thread What defines the choice of a Hash or an Array?
by ghenry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |