in reply to Re: Conditional for statement block (not just bare statement)
in thread Conditional for statement block (not just bare statement)

No disagreement with most of what you've written, but 'while' and 'do/while' have different purposes. I suppose that it can be considered a matter of preference, but IMO, forcing one to serve the purpose of the other is a bit square-block-into-round-hole-ish. :)

do { print "Please enter $THING_TO_VALIDATE"; chomp($input = <STDIN>); } while THING_IS_NOT_VALID();

--
"Language shapes the way we think, and determines what we can think about."
-- B. L. Whorf