A program that prints the numbers from 1 to 5 using the for statement.
#!/usr/local/bin/perl for ($count=1; $count <= 5; $count++) { print ("$count\n"); }