in reply to How to I check if a value is present in an array?

Check the FAQ. perldoc -q "Intersection of two arrays"
Bill