in reply to
Re^2: why use a hash instead of an array
in thread why use a hash instead of an array
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