Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: “A meeting at the Liquor-Vodka Factory”, or… same ARRAY questions again?!!

by tphyahoo (Vicar)
on Sep 04, 2005 at 14:29 UTC ( [id://489053]=note: print w/replies, xml ) Need Help??


in reply to “A meeting at the Liquor-Vodka Factory”, or… same ARRAY questions again?!!

If you're doing anything other than traversing the array, like in a for loop or something, USE A HASH.

I believe that answer is correct 97% of the time some perl seeker asks this question, and I guess the other 3% just hasn't happened to me yet. So, in the spirit of short answers... yes... just use a hash.

  • Comment on Re: “A meeting at the Liquor-Vodka Factory”, or… same ARRAY questions again?!!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://489053]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-19 05:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found