On Sun, 2 Apr 2000, Hui Zhu wrote:
> I wrote perl script to out put messages.
> It is supposed to output one line per 4 seconds.
> But the server did not output the result per 4 seconds instead output
> all of results after 40 seconds
Set $| = 1;
OT: You can do neat stuff with $| = 1 and Java
> 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 t
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