![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Re: boolean IN(); function in perl likeby premchai21 (Curate) |
on Jan 15, 2005 at 06:01 UTC ( #422463=note: print w/replies, xml ) | Need Help?? |
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
|
|