Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I need some advice from the monks.
I have several hundred lines of 5 unique items on each line. What is the best way to store them (i.e. an array or hash) and to sort on several of each of the columns in each line? Should I use a hash that refernces an array with 5 elements or is there a more efficient way of doing it?
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Data Structure advice
by shemp (Deacon) on Nov 23, 2002 at 00:01 UTC | |
|
Re: Data Structure advice
by waswas-fng (Curate) on Nov 22, 2002 at 23:04 UTC | |
by Anonymous Monk on Nov 22, 2002 at 23:11 UTC | |
|
Re: Data Structure advice
by shemp (Deacon) on Nov 22, 2002 at 23:09 UTC | |
by waswas-fng (Curate) on Nov 22, 2002 at 23:16 UTC | |
by shemp (Deacon) on Nov 22, 2002 at 23:20 UTC | |
by Anonymous Monk on Nov 22, 2002 at 23:28 UTC | |
by BrowserUk (Patriarch) on Nov 22, 2002 at 23:35 UTC | |
|
Re: Data Structure advice
by chromatic (Archbishop) on Nov 22, 2002 at 23:09 UTC | |
|
Re: Data Structure advice
by gjb (Vicar) on Nov 23, 2002 at 21:16 UTC |