more useful options | |
PerlMonks |
Re: in_array and skipping foreachby crashulater (Initiate) |
on Jan 16, 2020 at 16:21 UTC ( [id://11111493]=note: print w/replies, xml ) | Need Help?? |
The hints how to make an in_array() function are already in the various answers. This just puts them together usage: in_array($needle,@haystack) returns: 0 if not found and the number of instances found otherwise
In Section
Seekers of Perl Wisdom
|
|