问题
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!
回答1:
In addition to HTTP::Daemon, I would recommend taking a look at HTTP::Server::Simple which indeed is very easy to use.
回答2:
See HTTP::Daemon
回答3:
Here are a few more:
- Catalyst::Engine::HTTP
- Net::Server
来源:https://stackoverflow.com/questions/1904420/how-do-i-write-an-http-server-in-perl