in reply to IO::Socket hanging during requests
Another possible source for the delay could be the buffering that happens automagically on STDOUT. You can get rid of it by saying something like $| = 1; near the beginning of your script. See if this makes the delays go away.
|
|---|