Is there a webserver or HTTP server module in the Perl standard library or in CPAN or elsewhere? I guess I'm looking for the equivalent of Python 3's http.server
module. Thanks!
In addition to HTTP::Daemon, I would recommend taking a look at HTTP::Server::Simple which indeed is very easy to use.
See HTTP::Daemon
Pedro Silva
Here are a few more:
来源:https://stackoverflow.com/questions/1904420/how-do-i-write-an-http-server-in-perl