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

7 lines
133 B
Raku

#!/usr/bin/perl
$num=0;
while ($num < 10){
print "$num ";
$num++;
}
print "\nOut of the loop.\n";