open (LOG, ....) or die $!; for (;;) { print ; sleep 1; seek (LOG, 0, 1); }