But this does not seem to be doing what I need. Could any one suggest a way to accomplish this? Thanks$seen(); foreach $id (@all_array){ got the name using the id to $name push (@uniquearray, $id) unless $seen{name}++;}
In reply to Unique elements in an array by anne
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |