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 |
In reply to Re: Re: Re: IO::Socket::UNIX close() discards data when called "too soon"?
by pfaut
in thread IO::Socket::UNIX close() discards data when called "too soon"?
by ddzeko
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |