in reply to
Remove Duplicate Lines
To remove dupes you put things into a hash:
my %unique = @data;
But honestly, there's no reason to use Perl for this. Just
sort -u file > new_file
Comment on
Re: Remove Duplicate Lines
Select
or
Download
Code
In Section
Seekers of Perl Wisdom