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


in reply to inetd server not writing correctly to client

Let me guess - "PING BACK" gets written to /tmp/xyz.log

Read perldoc -f select (select), and select STDOUT before the loop.