in reply to Re: Should we Localize $_ ?
in thread Should we Localize $_ ?
If the sub aliased it, using local or something like foreach which I assumes rebinds without changing the value, that would indeed be different.
I'm supposing that the reason I don't see this as a problem in real scripts is that I don't use the implicit loop with nontrivial bodies—I name the iteration variable. I suppose people who heavily use map might get bit with it more.
—John
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Reii: Should we Localize $_ ?
by bikeNomad (Priest) on Jun 13, 2001 at 23:47 UTC | |
by dragonchild (Archbishop) on Jun 13, 2001 at 23:52 UTC | |
by John M. Dlugosz (Monsignor) on Jun 13, 2001 at 23:56 UTC |