Rule of thumb: If order matters, use an array; otherwise use a hash.
Most of the time, you should use a hash because of its expressive power. You can think of a hash as a miniature symbol table, if it helps. :)
In reply to Re^3: Soft Array Refs
by shawnhcorey
in thread Soft Array Refs
by smknjoe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |