in reply to
reading from sockets
Try this:
{ local $/ = "abcd"; $data = <SOCKET>; }
[download]
This should read data from the socket until it sees
"abcd"
and then it will stop.
Comment on
Re: reading from sockets
Select
or
Download
Code
In Section
Seekers of Perl Wisdom