in reply to Difference between for and foreach
perlsyn says:
The foreach keyword is actually a synonym for the for keyword, so you can use foreach for readability or for for brevity.Update: I now see the link to for vs foreach was already mentioned by n8g above.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Difference between for and foreach
by skaurus (Novice) on Jun 13, 2013 at 18:40 UTC | |
by runrig (Abbot) on Jun 13, 2013 at 19:47 UTC | |
by skaurus (Novice) on Nov 11, 2013 at 14:07 UTC | |
by choroba (Cardinal) on Jun 13, 2013 at 20:11 UTC | |
by skaurus (Novice) on Nov 11, 2013 at 14:08 UTC |