programming-examples/perl/Statement/until with continue.pl

6 lines
104 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
$loop_index = 1;
until ($loop_index > 10) {
print "Hello!\n";
} continue {
$loop_index++;
}