Just another Perl shrine | |
PerlMonks |
Re: without looping, check if $var is found in @listby sulfericacid (Deacon) |
on Dec 14, 2006 at 03:09 UTC ( [id://589729]=note: print w/replies, xml ) | Need Help?? |
I'd have to agree with duckyd on this one. A hash is probably the way to go on this one. This is my version..
"Age is nothing more than an inaccurate number bestowed upon us at birth as just another means for others to judge and classify us" sulfericacid
In Section
Seekers of Perl Wisdom
|
|