in reply to Re: Unique array w/o repeated elements and still keep the original order!
in thread Unique array w/o repeated elements and still keep the original order!
as written, it will only print the duplicates.foreach my $instance (@lines2) { print OUTF $instance unless $hsh{$instance}++; }
|
|---|