As a matter of style it is good practice to always use a locally declared (lexical) loop variable in for loops. It makes the scope of the variable clear and avoids issues with knowing what may be mucking with $_ within the scope of the loop.
In reply to Re: Variable Unusable?
by GrandFather
in thread Variable Unusable?
by RobinV
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |