http://www.perlmonks.org?node_id=1038771


in reply to Re: why use a hash instead of an array
in thread why use a hash instead of an array

not fair. you tell me not to laugh then throw that one-liner at me...but actually i know a guy that does that. at least i think he's planning on doing that. mr rodriquez has one kid, a boy, that he calls hose-a. i guess he'll call his next son hose-b. ok, your turn, don't laugh.
  • Comment on Re^2: why use a hash instead of an array

Replies are listed 'Best First'.
Re^3: why use a hash instead of an array
by gurpreetsingh13 (Scribe) on Jun 14, 2013 at 04:35 UTC

    Extremely sorry if you felt wrong with that. But friend, it was just an example.

    Ok I am not laughing. But you will understand the importance of hashes once you start using the language to its full extent. Simpler code, shorter code, understandable code, easy to use etc. etc.

    Correct me if I am wrong. I believe perl was the first language to include hashes as first-class citizens. There must have been several selling points due to which all industry-standard languages like Java, C-Sharp, Python have now something similar to hash through API or jar or dll or dictionary