in reply to Re: removing duplicates from a string list
in thread removing duplicates from a string list
or this%ids; #loop through lines #add id to the list $ids{$my_input_id} = 'anything - doesn't matter'; #end loop @ids = keys %ids join(',' @ids);
or does it make no difference?%ids; #loop through lines #add id to the list $ids{$my_input_id} = 'id'; #end loop @ids = values %ids join(',' @ids);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: removing duplicates from a string list
by PeterPeiGuo (Hermit) on Nov 27, 2010 at 21:42 UTC | |
|
Re^3: removing duplicates from a string list
by 7stud (Deacon) on Nov 27, 2010 at 22:25 UTC |