Six of one, half a dozen of the other. You made the array explicit, I made the counter explicit. Personally, I prefer for split /,/, $row because it keeps the meat all on one easy-to-eat line. I'm also comfortable enough with C to be happy with the autoincrementing counter.
Didja benchmark them? (Kidding, of course.)
-sauoq "My two cents aren't worth a dime.";
In reply to Re: Re^3: Arrays manipulation (no $i either)
by sauoq
in thread Arrays manipulation
by hotshot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |