$value = 15; # 15, not 5. 5 doesn't make sense if we're not incrementing. do { print "$value\n"; $value = $value - 1; } while($value > 10);