Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: How to check whether my array contains element x

by BillKSmith (Vicar)
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?
[Yary]: Any monk want to point me to a post discussing style- what order to declare strict, warning, package, and the modules to "use"?
[marto]: yikes
[marto]: and this is a bank you say?

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2018-01-23 16:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (249 votes). Check out past polls.

    Notices?