http://www.perlmonks.org?node_id=1047747


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