Thanks Choroba. That cleared my confusion around this.
In reply to Re^4: Generation of Array of hashes by reading a file by pr33 in thread Generation of Array of hashes by reading a file by pr33