Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
where the first subscript is the nth number of the same thing and the second is the item number in the array. Can you help me in figuring out how to do this/give me suggestions. THanks!!!ex. Andrea, 6, good, nice, 3 Bill, 5, 4, better, 5, 7, 4 Clark, 4, 5 Dave, best, better, best Joe, 5, 0 Joe, 4, 6 William, 6, 7, 8, 3 , 1 ,5 Andrea, 45, bettr, best, 6 where the result I would like is a matrice ex. Andrea(1, 2)=good Dave(1,2) = better Joe(1,2) = 0
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Making an array out of each line of a text file
by merlyn (Sage) on Aug 25, 2000 at 20:49 UTC | |
by Anonymous Monk on Aug 25, 2000 at 21:37 UTC | |
by merlyn (Sage) on Aug 25, 2000 at 21:39 UTC | |
by Anonymous Monk on Aug 25, 2000 at 21:54 UTC | |
by tye (Sage) on Aug 25, 2000 at 21:55 UTC | |
|
Re: Making an array out of each line of a text file
by xdb19 (Sexton) on Aug 25, 2000 at 22:08 UTC | |
|
Re: Making an array out of each line of a text file
by Cirollo (Friar) on Aug 25, 2000 at 20:49 UTC |