in reply to staggering html output

You need to turn on auto-flushing, ie: $|=1;

To get a good understanding of what goes on here, have a read of Suffering from Buffering, by MJD.

Cheers,
Darren :)

Replies are listed 'Best First'.
Re^2: staggering html output
by bart (Canon) on Oct 09, 2006 at 10:04 UTC
    It'll probably be sent out to the browser... but that doesn't mean that the browser will indeed try to display it. I've noticed that a browser tends to buffer whhat it gets back from the server, too. Usually it does work if you emit long strings, for example, several k of whitespace.

    Not ideal, of course.