|
|
| "be consistent" | |
| PerlMonks |
Re^4: scope of "use strict"? (needed: "superstrict")by ihb (Deacon) |
| on Jul 07, 2005 at 20:50 UTC ( [id://473299]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Actually, the problem isn't solved after the my is added. The $i on the RHS in the assignment isn't declared. You'd more likely "fix" it (incorrectly) by adding my $i; at the very beginning of the subroutine. ihb
See perltoc if you don't know which perldoc to read!
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||