open (DUPLICATE, "datafiles/linked_file.txt"); open (DUPremoved, ">" . "datafiles/linked_file_dup.txt"); print DUPremoved grep { !$saw{$_}++ } <DUPLICATE>; close DUPLICATE; close DUPremoved;
In reply to Re: duplicate lines
by Tomtom
in thread duplicate lines
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |