You need to bring the my inside the for statement for each offending line in order to declare the variable.
needs to befor my ($counter=0;$counter<9;$counter++)
for (my $counter=0;$counter<9;$counter++)
Hope this helped,
-v.
In reply to Re: Missing $ on loop variable at measurements2.pl line 69.
by Velaki
in thread Missing $ on loop variable at measurements2.pl line 69.
by Yoda_Oz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |