in reply to Using aliases in for loops or not?
As for using variables to iterate over an array or using the implicit $_, that's actually debateable. If you're using $_ downstream via regex matching (conveniently done as /.../ as opposed to $record =~ /.../), using the implicit iterator saves some keystrokes. But for all other purposes, I find named iterator variables easier to read. YMMV, of course.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: A question for the enlightened.
by jkva (Chaplain) on Feb 17, 2005 at 09:20 UTC | |
by DrHyde (Prior) on Feb 17, 2005 at 10:14 UTC | |
by jkva (Chaplain) on Feb 17, 2005 at 10:19 UTC |