in reply to Creating a simple HTTPD in Perl

I think you're looking for HTTP::Daemon, with which I've written a few magazine articles.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.