in reply to Re^2: Take out repeating numbers with grepin thread How do I get my code to not repeat numbers and also sort the numbers
my %seen; my @unique = grep !$seen{$_}++, @numbers; [download]
This is in perlfaq4