in reply to Sending multiple requests to a perl socket
will not exit until the other side closes the socket.while($ans=<$sock>)
Try doing a single read
in a scalar context, then "print" to the socket, followed by another "read".$ans=<$sock>;
My goal ... to kill off the slow brain cells that are holding me back from synergizing my knowledge of vertically integrated mobile platforms in local cloud-based content management system datafication.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Sending multiple requests to a perl socket
by Anonymous Monk on Sep 23, 2013 at 15:48 UTC | |
by NetWallah (Canon) on Sep 24, 2013 at 03:29 UTC |