That does not seem to me to be good - can anybody show me how to do it?foreach my $line(@array) { foreach (@array1) { if ($username eq $user){ print "$line\n"; } } }
Thanks
In reply to iterating over two arrays by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |