I do know the difference, but you could use an array, as it's ordered, and, for the same thing, you could just use a hash and then sort it.Say you live a city next to an airport, and you want to visit a friend who lives 20 miles away at the other end of city also next to an airport, do you fly or do you drive?
Use a hash when it benefits you to do so, not just because you can.
In reply to Re^3: What defines the choice of a Hash or an Array?
by PodMaster
in thread What defines the choice of a Hash or an Array?
by ghenry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |