while (1) { for (1..20) {print "."; system ("sleep 0.05"); } #print "\n"; system("clear"); }