programming-examples/perl/SystemFunction/Putting Sleep into foreach loop.pl
2019-11-15 12:59:38 +01:00

9 lines
101 B
Perl

#!/usr/bin/perl -w
use strict;
foreach (1..20) {
print ".";
sleep 1;
}
print "\n";