#!/usr/bin/perl $| = 1; use strict; use warnings; print "Content-type: text/html\n\n"; print "Starting Test\n"; print ""; my $count = 0; for (my $i = 1; $i <= 16; $i++) { print "."; $count++; print "\b\b\b\b" if ($count == 4); $count = 0 if ($count == 4); sleep(1); } # end-for print ""; print "Completed Test!\n"; exit(0);