in reply to Help! My variables are jumping off a cliff!
In the early years of Perl5, the for my $var syntax was illegal. If you wanted a lexical variable for your iterator, you'd write:
It would not be uncommon to have several my $i;'s in the same block.my $i; for $i (LIST) { ... }
But that's harmless.
|
|---|