in reply to reading file in Hash

open the file
use while to read contents of the file
split the line you read
if it is going to be only running number you can use arrays of arrays, see perldsc
if the first line doesn't contain only numbers it is good to use hashes, in which case you have to explicitly maintain the column to key map in a separate hash
other than the first line all the remaining data seems to be the values, so use push to populate the sub arrays.

hope this helps


Vivek
-- In accordance with the prarabdha of each, the One whose function it is to ordain makes each to act. What will not happen will never happen, whatever effort one may put forth. And what will happen will not fail to happen, however much one may seek to prevent it. This is certain. The part of wisdom therefore is to stay quiet.