or module List::MoreUtils can be used.my %h = map { $_, 1 } @arr; my @uniq_arr = keys %h;
In reply to Re: Get only unique values into array
by pme
in thread Get only unique values into array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |