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.
In reply to Re^2: Removing duplicates from an array
by alexm
in thread Removing duplicates from an array
by Win
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |