> > Unless the arrays become too big, > > grep is your friend > > (perldoc -f grep) > > According to the FAQ I mentioned in another reply, it isn't ;-)
yep, i spoke to soon as well. grep has always worked well for me. so there is the quick and dirty way, then the right way :) from the faq: Please do not use ($is_there) = grep $_ eq $whatever, @array; or worse yet ($is_there) = grep /$whatever/, @array; -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]