use HTTP::Daemon; $HTTPserver = HTTP::Daemon->new(Timeout => 600); print "My URL is: ", $HTTPserver->url, ".\n"; while ($HTTPclient = $HTTPserver->accept) { $HTTPclient->autoflush(1); print $HTTPclient '