laziness, impatience, and hubris | |
PerlMonks |
Re^6: eof not recognised when applying diamond operator to invocation arguments?by ikegami (Patriarch) |
on Jan 13, 2011 at 00:49 UTC ( [id://882014]=note: print w/replies, xml ) | Need Help?? |
Why is it always C-style loops (usually used as counting loops) vs list iterator loops? Perl-style counting loops are always ignored. By your argument, one should use for for them. Others argue they are just optimisations of list iteration loops. It just goes to show how meaningless the choice of keyword is. In fact, you'll realise after a while that you never rely on the keyword anyway, so you should just use what's simpler ("for").
In Section
Seekers of Perl Wisdom
|
|