dannoura has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I have a file which for every line has the fields (separated by tabs): title, file, offset. What I want to be able to do is given a title get the file and offset. I'm pretty sure it's a job for an array of hashes but after reading some docs about this I still can't figure out how to get the data into the array of hashes and how to extract it after it's there. How would I do this?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: newbie hash question
by PodMaster (Abbot) on Jul 23, 2003 at 04:00 UTC | |
|
Re: newbie hash question
by Enlil (Parson) on Jul 23, 2003 at 03:59 UTC | |
by dannoura (Pilgrim) on Jul 23, 2003 at 04:55 UTC | |
|
Re: newbie hash question
by NetWallah (Canon) on Jul 23, 2003 at 06:02 UTC | |
|
Re: newbie hash question
by Cody Pendant (Prior) on Jul 23, 2003 at 06:44 UTC | |
by dannoura (Pilgrim) on Jul 24, 2003 at 08:23 UTC | |
by Cody Pendant (Prior) on Jul 24, 2003 at 23:29 UTC | |
|
Re: newbie hash question
by bobn (Chaplain) on Jul 23, 2003 at 04:02 UTC |