in reply to Re: Re: IO::Socket::UNIX close() discards data when called "too soon"?
in thread IO::Socket::UNIX close() discards data when called "too soon"?
The server reads from the client with the following line in do_something():
my ($l) = <$fh>;
That is not a list assignment. If you want to read all of the data from the client, try adding local $/ = undef; before the above line.
90% of every Perl application is already written. ⇒ |
dragonchild |
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re: IO::Socket::UNIX close() discards data when called "too soon"?
by ddzeko (Acolyte) on Jan 20, 2004 at 16:00 UTC | |
Re: Re: Re: Re: IO::Socket::UNIX close() discards data when called "too soon"?
by Anonymous Monk on Jan 20, 2004 at 16:21 UTC |
In Section
Seekers of Perl Wisdom