#!/usr/bin/perl -w use strict; use warnings; for (my $i = 1; $i <= 60; $i++) { sleep 1; print "$i\n"; }