[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl-AnyPerl] List Functions



At 13:19 -0800 2000.12.05, ehughes wrote:
>I am having a bit of a brain fade here. I know there is an 'exists' function
>which will return true id the specified hash keys exists in its hash. But I
>need to know if value A is in list @alphabet.
>
>What is the easiest way of finding a a value in a list?

Look in perlfaq4, "How can I tell whether a list or array contains a
certain element?".  You can look in Shuck, or on a Unix box with "perldoc
perlfaq4", or at <URL:http://perldoc.com/m?perlfaq4>.

-- 
Chris Nandor                      pudge@pobox.com    http://pudge.net/
Open Source Development Network    pudge@osdn.com     http://osdn.com/

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-anyperl-request@macperl.org