in reply to Re: removal of dupes using a hashin thread removal of dupes using a hash
while($_=pop @sorted_data) { unshift(@data_out,$_) unless ($seen{substr($_,0,7)}++); } [download]