#!/usr/bin/perl print "Content-Type: text/html\n\n"; $| = 1; # This enables autoflush. my $i = 0; while ($i < 11) { print STDOUT ""; sleep 1; ++$i; }