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
is a "for" loop andforeach(;1;) { }
is a "foreach" loop.print for @list;
Hopefully youll drop this piece of pedantry as its just confusing.
---
demerphq
demerphq
In Section
Seekers of Perl Wisdom