After reading this, I went looking for tinyhttpd.pl which was written "many eons ago" (see current poll for what this means) but was a nice hack for its time.
That page, however, suggests looking into Plexus or HTTPi for more current perl based httpd servers (neither of which I have any experience with, but might they might be a good starting point.)