in reply to searching through data

It's in perlfaq4: How can I tell whether a certain element is contained in a list or array?