Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: boolean IN(); function in perl likeby premchai21 (Curate) |
on Jan 15, 2005 at 06:01 UTC ( [id://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
|
|