programming-examples/perl/Statement/Looping While.pl
2019-11-15 12:59:38 +01:00

9 lines
155 B
Perl

#!/usr/bin/perl
use warnings;
use strict;
my $countdown = 5;
while ($countdown > 0) {
print "Counting down: $countdown\n";
$countdown--;
}