open in,"file" or die "can not open input file\n"; while (<in>){ print if ($_ ne $prev_record); $prev_record = $_; }
Please read disclaimers by all monks that contain the word not.
In reply to Re: Getting rid of duplicates
by johndageek
in thread Getting rid of duplicates
by New Novice
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |