Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks,
I am having a text file which consist of details splitted by tabspace. I want to remove the duplicates in the data.
Input: 1 101 2 102 3 103 1 104 2 102 3 104 output: 1 101 104 2 102 3 103 104
Many thanks in advance.
cheers.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Removing duplicates
by edan (Curate) on Jul 05, 2004 at 08:44 UTC | |
|
Re: Removing duplicates
by borisz (Canon) on Jul 05, 2004 at 09:02 UTC | |
|
Re: Removing duplicates
by davido (Cardinal) on Jul 05, 2004 at 08:40 UTC | |
by edan (Curate) on Jul 05, 2004 at 08:54 UTC |