> I wrote perl script to out put messages. It is supposed to output one
> line per 4 seconds. while loop has sleep(4), then print messages until
> all messages print out.
>
> But the server did not output the result per 4 seconds instead output
> all of results after 40 seconds How can I control that. Thanks.

        Apache is buffering the output.  Put a "\n" at the end of your
print statements and you should be okay, or an alternative would be to use
$r->rflush after each print statement.  -sc

--
Sean Chittenden


Reply via email to