My guess is that you are suffering from buffering (on STDOUT -- sockets aren't buffered). Try adding the following at the top of your code:
$|= 1;
- tye
In reply to Re: Why sysread() + select() only read the first line? ($|)
by tye
in thread Why sysread() + select() only read the first line?
by perlmonks12
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |