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

11 lines
159 B
Perl

#!/usr/bin/perl -w
use strict;
my $i = 1;
print "starting do...until\n";
do {
print " the value of \$i: $i\n";
$i++;
} until ($i >= 6);