Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
print "Found!" if grep {$_ == $val} @arr;
In reply to Re: checking an array of numbers for a particular value
by TedPride
|
|