Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
If i wanted to build up a list of ids by extracting the ids from lines read in from a file, and then remove any duplicates from this list so I have a list of unique ids separated by commas, what would be the best way to do this? i haven't created by list of ids yet so I can do it in any way recommended.
many thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: removing duplicates from a string list
by moritz (Cardinal) on Nov 27, 2010 at 20:27 UTC | |
|
Re: removing duplicates from a string list
by toolic (Bishop) on Nov 27, 2010 at 22:50 UTC | |
|
Re: removing duplicates from a string list
by ww (Archbishop) on Nov 27, 2010 at 20:27 UTC | |
by Anonymous Monk on Nov 27, 2010 at 21:24 UTC | |
by PeterPeiGuo (Hermit) on Nov 27, 2010 at 21:42 UTC | |
by 7stud (Deacon) on Nov 27, 2010 at 22:25 UTC | |
|
Re: removing duplicates from a string list
by chrestomanci (Priest) on Nov 27, 2010 at 21:57 UTC | |
|
Re: removing duplicates from a string list
by Marshall (Canon) on Nov 28, 2010 at 01:48 UTC |