in reply to Re: Removing duplicates from an array
in thread Removing duplicates from an array
my @no_duplicates = r(@original_array);Please, note that this method may not preserve the original order of the array values. But uniq function from List::MoreUtils does, as mentioned in perlfaq4 and PBP.
|
|---|