> Small question: I thought when doing a for loop over an array, I can simply
> do this:
> for (@array) { # do stuff with $_ }
for my $ele (@array) { # stuff with $ele }
In 99.99% of the perl programs you write you'll use my instead of local.
In fact, if you think you need to use local with a variable, you probably
should use my.
The only time I've ever used local is with the $^I variable.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
