cormacmul has asked for the wisdom of the Perl Monks concerning the following question:
So i have this piece of code, it is working and everything but its a bit slow.
I am using IO::Socket and setting $socket->autoflush();
Then i print my output to the socket and after this i go
$document=(join('',<$socket>);
print "DOC IS:$document\n";
Which i read in some perl FAQ should work for flushing.
Does anyone have any hint on what might be going wrong. Or a fairly indepth
tutorial wwhere i might find out about socket stuff
Cheers
Cormac
Comment on PERL SOCKET to Servlet slow comm. (No Flushing Maybe)