Lucky you - you found one of the sloppy behaviors that use strict was made to catch! You might want to change the $counter = 0 line so it reads:
my $counter = 0;
See, strict makes sure that you are only using variable names you know about. Every variable must be declared with my, our, or use vars (LIST).
In reply to Re: Error msg "requires explicit package name"
by webfiend
in thread Error msg "requires explicit package name"
by Theo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |