in reply to Re: Re: Array Comparison
in thread Array Comparison

Excellent, this works much faster.

Now, if I can just sort and make the list with just unique entries, I'm all set. Thanks.

Replies are listed 'Best First'.
Re: Re: Re: Re: Array Comparison
by Roger (Parson) on Dec 22, 2003 at 23:12 UTC
    my @uniq = sort keys %{{map {$_ => 1} @cleaned}};
    or you could combine two statements in one (not recommended though :-) ...
    my @uniq = sort keys %{{map {$_ => 1} grep{not exists $exclude{$_}}@words}};