http://www.perlmonks.org?node_id=1018672


in reply to Getting a response from a socket

If you are using IO::Socket older than version 1.18, you may need to manually turn on autoflush.

             Most people believe that if it ain't broke, don't fix it.
        Engineers believe that if it ain't broke, it doesn't have enough features yet.