programming-examples/perl/Statement/Using the do-until repetition structure.pl
2019-11-15 12:59:38 +01:00

8 lines
92 B
Perl

$counter = 10;
do
{
print "$counter ";
} until ( --$counter == 0 );
print "\n";