|
|
| Don't ask to ask, just ask | |
| PerlMonks |
Re: boolean IN(); function in perl likeby premchai21 (Curate) |
| on Jan 15, 2005 at 01:01 UTC ( [id://422463]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
I'm surprised no one mentioned List::Util's "first" routine yet. first {$_ eq $e} @aI'm not sure this works properly if $e is undef, though.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||