cxfcxf has asked for the wisdom of the Perl Monks concerning the following question:
i want it to be like1300018 a1 1300019 a1 1300100 a2 1300101 a2 1300126 a2 1300127 a2 1300128 a2 1300129 a2 1300130 a3 1300131 a3 1300132 a3 1300133 a3
i know i should use hash to deal with it... but after completed to assign key and value to hash....how to unique a1 column and make uniqued a1 column to corresponding to fist column?a1 2file 1300018 1300019 a2 6file 1300100 1300101 1300126 1300127 1300128 1300129 a3 4file 1300130 1300131 1300132 1300133
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: question about algorithm
by ikegami (Patriarch) on Jul 23, 2009 at 03:47 UTC | |
|
Re: question about algorithm
by jwkrahn (Abbot) on Jul 23, 2009 at 04:31 UTC | |
|
Re: question about algorithm
by bichonfrise74 (Vicar) on Jul 23, 2009 at 04:49 UTC | |
|
Re: question about algorithm
by Corion (Patriarch) on Jul 23, 2009 at 06:27 UTC | |
|
Re: question about algorithm
by perlplayer (Sexton) on Jul 23, 2009 at 11:38 UTC |