in reply to
Re: Removing duplicate lines from a file
in thread
Removing duplicate lines from a file
or equally simple
if (not $prev eq $line) {
or
if ($prev neq $line) {
Comment on
Re^2: Removing duplicate lines from a file
Select
or
Download
Code
In Section
Seekers of Perl Wisdom