in reply to Re: Unexpected behaviour with constant lists
in thread Unexpected behavior of '..' lists
I'm not exactly sure what you mean by counting loop. Are you saying that
foreach $x (expr1..expr2) { blah }is implemented more like
for ($y=expr1 ; $y<expr2 ; $y++) { $x=$y; blah }internally ?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Unexpected behaviour with constant lists
by ikegami (Patriarch) on Jul 20, 2006 at 18:43 UTC | |
by diotalevi (Canon) on Jul 20, 2006 at 19:32 UTC | |
by ysth (Canon) on Jul 21, 2006 at 19:22 UTC |