I've just applied a patch to Pod::Webserver from Nicholas Clark,
based on a concept Nick and Sean discussed a while ago. The patch
eliminates the dependency on LWP by mocking (or duplicating) a
limited subset of the functionality provided by HTTP::Daemon,
HTTP::Request, HTTP::Response, and HTTP::Date. I'm not generally a
fan of this sort of code duplication, but in this case it makes
sense. The goal is to make it possible to include Pod::Webserver and
the podwebserver script in the Perl core. Or, as Nick puts it:
...keeping up with the Joneses:
pydoc -p <port>
Start an HTTP server on the given port on the local machine.
I'd like to get some feedback from existing Pod::Webserver users on
how the changes affect them. Or if you just want to comment on the
patch in general, that's also welcome. The latest source is available
at:
http://svn.lohutok.net/nam/trunk/perl5/modules/Pod/Webserver/
Thanks,
Allison