![]() |
|
Keep It Simple, Stupid | |
PerlMonks |
Re: IO::Socket questionby borisz (Canon) |
on Feb 11, 2004 at 21:58 UTC ( #328397=note: print w/replies, xml ) | Need Help?? |
The line print <$sock>; reads all lines until the $sock is closed. I think you want print scalar(<$sock>);
Boris
In Section
Seekers of Perl Wisdom
|
|