programming-examples/perl/SystemFunction/Putting Sleep into foreach loop.pl

9 lines
101 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
#!/usr/bin/perl -w
use strict;
foreach (1..20) {
print ".";
sleep 1;
}
print "\n";