Hope that helps....foreach my $item(@array) { if ($test eq $item) { #do something interesting } }
In reply to Re: testing against an array
by McMahon
in thread testing against an array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |