in reply to Detecting duplicate entries
YMMV. TIMTOWTDI. etc.
my @data = ( # all that stuff # ); my %hash; foreach (@data) { $hash{$_} = 1; } my @new_data = keys %hash;
|
---|
In Section
Seekers of Perl Wisdom