in reply to IO::Socket question

The line print <$sock>; reads all lines until the $sock is closed. I think you want print scalar(<$sock>);
Boris

Replies are listed 'Best First'.
Re: Re: IO::Socket question
by MF (Monk) on Feb 11, 2004 at 22:12 UTC
    Thanks a million. It works now :) The reason I had it working first is because I initially forgot to close the socket, that printed out the server reply just dandy.