Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PERL

unique in perl

use List::MoreUtils qw(uniq);
 
my @words = qw(foo bar baz foo zorg baz);
my @unique_words = uniq @words;
 
PREVIOUS NEXT
Tagged: #unique #perl
ADD COMMENT
Topic
Name
7+9 =