A type
of loopstatement
in programming
that performs pre-defined tasks
while or until a pre-determined condition is met. For example, in Perl
you may use code similar to the below, which performs a do loop
until the $count variable
has reached the value of 10.
my $count = 0;
do {
print "$count\n";
$count++;
} until ($count >= 10);