in reply to Fun with arrays
Study perldoc -q intersection, and come back if you have some code to show.
Abigail