And you might want to change your while loop into a for loop instead.while($i < scalar(@filename)) { ... print qq{grep -c "$datas[$i]" $filename[$i]\n}; ...
In reply to Re: Print array values
by bichonfrise74
in thread Print array values
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |