http://www.perlmonks.org?node_id=524604


in reply to Re^2: do while loops
in thread do while loops

The point was that the test happens at the end, so the loop executes once even if the value starts out < 10.

Caution: Contents may have been coded under pressure.