Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^4: Using an array element as a loop iteratorby GotToBTru (Prior) |
on Nov 07, 2013 at 20:37 UTC ( [id://1061624]=note: print w/replies, xml ) | Need Help?? |
What he is trying to accomplish in his examples is vague indeed; the foreach loop and the C-style for loop are not functionally equivalent, even if the first was valid syntax. I suspect these are off-the-cuff examples to illustrate his question. If you don't mind helping me understand, what are the two ways to parse his question? My own post shows how I parsed it. If that is one of the two, no need to rehash it. (update added first paragraph for clarity)
In Section
Seekers of Perl Wisdom
|
|