This still allows duplicates, and also combines some of the array elements, I'm assuming from push.foreach $term(@inputs) { @result = $words{$term}; push @results, @result; } undef @numbers{@results}; my @results2 = keys %numbers; print "@results2\n";
Thanks
In reply to Removing duplicate elements from an array by mkurtis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |