|
|
| There's more than one way to do things | |
| PerlMonks |
Re: How to check whether my array contains element xby BillKSmith (Friar) |
| on Jan 17, 2013 at 19:16 UTC ( #1013860=note: print w/ replies, xml ) | Need Help?? |
|
See the function "any" in List::MoreUtils. It does exactly what you ask.
Bill
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||