Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: How to check whether my array contains element x

by BillKSmith (Chaplain)
on Jan 17, 2013 at 19:16 UTC ( #1013860=note: print w/ replies, xml ) Need Help??


in reply to How to check whether my array contains element x

See the function "any" in List::MoreUtils. It does exactly what you ask.

Bill


Comment on Re: How to check whether my array contains element x

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1013860]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2014-07-12 21:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (241 votes), past polls