my %saw; # note the hash @emails = grep(!$saw{$_}++, @emails); # note the curlies [download]
In reply to Re: Problems with Comparing Arrays by danboo in thread Problems with Comparing Arrays by dru145