Yeah, $_ (especially the implicit version) is something to generally avoid. It's not only harder to read and understand, but it's also easy to mess up a program when you have to re-shuffle some logic.
As for single-character iterators, i mostly use them on C-style for loops. $i, $x, $y are my favourites, with $i for general stuff. $x and $y are always sensible choices when iterating over the pixels of an image, plus there aren't that many other variable names (english words) that start with an "x" or "y" that also make sense in a cash register application.
In reply to Re^4: dereferencing question
by cavac
in thread dereferencing question
by sectokia
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |