Ugly, messes with the values of your data, but may be what you are looking for.... my $past=""; for my $record (sort @records){ chomp $record; if ($record !~ /^$past/{ push @uniq, $past; } $past=$record; } push @uniq, $past; ...
In reply to Re: Duplicate fields
by Utilitarian
in thread Duplicate fields
by crochunter
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |