http://qs321.pair.com?node_id=445039


in reply to Re^4: Interview Prepration
in thread Interview Prepration

Actually I think the community has selected a third way to avoid this debate, whatever it actually says in Perlsyn. The way they solved this debate is they say for LIST and 3 arg for loop or c-style for loop or if you are like me the while loop that likes to crossdress and call itself a for loop.

I agree with chromatic, your usage, while strictly correct is confusing and misleading, especially when it leads you to obvious contortions like saying

foreach(;1;) { }
is a "for" loop and
print for @list;
is a "foreach" loop.

Hopefully youll drop this piece of pedantry as its just confusing.

---
demerphq