in reply to quick and dirty http page server
You might want to look at the HTTP::Daemon module, which comes with LWP, if I'm not mistaken.