programming-examples/perl/Statement/while-until Loop.pl
2019-11-15 12:59:38 +01:00

10 lines
195 B
Perl

#while ( conditional expression ) {
# code block A
#}
$count=0; # Initial value
while ($count < 10 ){ # Test
print $n;
$count++; # Increment value
}