How about using a hash to keep track of which things you've already handled?
my %seen; for my $value (@values) { next if $seen{$value}++; # Do processing with $value here. } -- Keith C. Ivey <[EMAIL PROTECTED]> Washington, DC
How about using a hash to keep track of which things you've already handled?
my %seen; for my $value (@values) { next if $seen{$value}++; # Do processing with $value here. } -- Keith C. Ivey <[EMAIL PROTECTED]> Washington, DC