Have you looked at
HTTP::Daemon? There is a node here on PM about handling POST requests with it, but I cannot find it. I *did* however, find
CGI::MiniSvr when I was googling for code snips.
I've wanted to do this with a WikiWiki on a USB drive. Keeping it all perl allows me to easily move between different OS at work and home. I'm going to look into
CGI::MiniSvr a bit, please update this thread if you make any progress, I'd like to hear about it.