programming-examples/perl/Statement/program that prints the numbers from 1 to 5 using the for statement.pl
2019-11-15 12:59:38 +01:00

6 lines
97 B
Perl

#!/usr/local/bin/perl
for ($count=1; $count <= 5; $count++) {
print ("$count\n");
}