in reply to create a hash by reading file

How far have you got? Are you having trouble...

opening the file?
reading the file?
parsing the data?
building the hash?
---
my name's not Keith, and I'm not reasonable.

Replies are listed 'Best First'.
Re^2: create a hash by reading file
by s_gaurav1091 (Beadle) on Jul 19, 2005 at 12:58 UTC
    hi I have got the result and your guess was perfectly ok.My file contained lines separated by spaces.Thanks alot for the answer