如何在Perl中编写HTTP服务器? [英] How do I write an HTTP server in Perl?

查看:244
本文介绍了如何在Perl中编写HTTP服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Perl标准库或CPAN或其他地方是否有Web服务器或HTTP服务器模块?我想我正在寻找相当于Python 3的 http.server 模块。谢谢!

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!

推荐答案

除了 HTTP ::守护进程,我建议看看 HTTP :: Server :: Simple ,确实非常容易使用。

In addition to HTTP::Daemon, I would recommend taking a look at HTTP::Server::Simple which indeed is very easy to use.

这篇关于如何在Perl中编写HTTP服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆