in reply to searching a list

Please see perlfaq4: "How can I tell whether a certain element is contained in a list or array?", and Getting Matching Items From An Array.

If that isn't what you intended, please clarify the question. Thanks.

Update: added a link to Limbic~Region's most excellent companion document to the FAQ.

Replies are listed 'Best First'.
Re^2: searching a list
by Limbic~Region (Chancellor) on Jun 27, 2006 at 12:38 UTC
    bobf,
    I wrote a compliment tutorial to the FAQ - Getting Matching Items From An Array. It is intended to help people decide what method is appropriate for them and how to adjust to meet their specific needs as not all solutions are one size fits all.

    Cheers - L~R