in reply to Re: Difference between for and foreach
in thread Difference between for and foreach
And it's faster because Perl executes a foreach statement more rapidly than it would the equivalent for loop.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Difference between for and foreach
by runrig (Abbot) on Jun 13, 2013 at 19:47 UTC | |
by skaurus (Novice) on Nov 11, 2013 at 14:07 UTC | |
|
Re^3: Difference between for and foreach
by choroba (Cardinal) on Jun 13, 2013 at 20:11 UTC | |
by skaurus (Novice) on Nov 11, 2013 at 14:08 UTC |