An anonomous hash makes it much more compact.my @uniquelist = keys %{{map {$_=>1} @nonuniquelist}};
------------ :Wq Not an editor command: Wq
In reply to Re: Find unique elements in an array
by etcshadow
in thread Find unique elements in an array
by jcpunk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |