in reply to Hash creation problem
Your structure there is a hash of hashes (HoH), see perldsc for details of data structures like this. To construct it:
Try that and follow-up here with your code if you get stuck. Note that arrays start from zero in Perl, so the second column will actually be $array[1] in your code, etc. HTH.
Update: Splitting on whitespace could give you problems with the missing fields. Unless you have well defined field delimiters, follow BrowserUK's fixed-column approach above when reading instead.
|
|---|