for $i (0 .. $#@AoA) { if (grep(/$variable/, @{$AoA[$i]})) { print "List " . $i+1 . "contains $variable.\n"; } }
In reply to Re: search multiple lists
by mlh2003
in thread search multiple lists
by Annemarie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |