open(FILE,"peptides.txt"); @peptides=; %seen=(); @unique=grep{! $seen{$_} ++} @peptides;