Re: Which structure to handle data

2006-04-03 Thread Dr.Ruud
Andrej Kastrin schreef: > I need to re-sort a set of data. I think that the below example is > self explained; so which Perl structure should I use to handle this > dataset? > > Thanks in advance for any suggestion, Andre > > > 2;John;Apple;Banana > 3;Andrew;Pear;Apple;Melon;Orange > 8;Susan;Pear;

Re: Which structure to handle data

2006-04-03 Thread John W. Krahn
Andrej Kastrin wrote: > Dear Perl community, Hello, > I need to re-sort a set of data. I think that the below example is self > explained; so which Perl structure should I use to handle this dataset? > > Thanks in advance for any suggestion, Andre > > > 2;John;Apple;Banana > 3;Andrew;Pear;Appl

Re: Which structure to handle data

2006-04-03 Thread Tom Phoenix
On 4/3/06, Andrej Kastrin <[EMAIL PROTECTED]> wrote: > I need to re-sort a set of data. I think that the below example is self > explained; so which Perl structure should I use to handle this dataset? Perl has two data structures. Arrays hold items in order, while hashes keep track of their data