in reply to Listening on an HTTP port

Are you looking for HTTP::Daemon? Either that or you can roll your own -- see the section on sockets in the perlipc manpage.

I remember reading once that someone had put a little http daemon on the back of his business card as sort of a japh.