The proper solution is either to change (locally) the value of $/ to whatever makes sense for the records you are sending accross the channel... if you are willing to rely on the fact that only complete records get sent (otherwise you can gum up the process with blocking incomplete buffered reads), OR to change it from a buffering read to a non-buffering read (the better but more involved solution). For that, take a look at perldoc -f sysread for more details.
------------ :Wq Not an editor command: Wq
In reply to Re: IO::Socket hanging
by etcshadow
in thread IO::Socket hanging
by EMA
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |