in reply to do/redo or for(;;): what's Kosher?
Personally, I also prefer the while (1) construct for an infinite loop. I think that this is because it is commonly used in python, my former language. :) But, it seems to make more sense than a plain block, and looks nicer than an empty for statement.
I also thing using next or last statements in a while loop is more useful and makes more sense than redo in a plain block.
Why hasn't anyone suggested using a goto statement yet? After all, TMTOWTDI... lol...
# Anthony DeLorenzo ajdelore
|
---|
In Section
Seekers of Perl Wisdom