我对 Perl 很陌生,我想知道如何在网络服务器上运行它.(或者如果可以的话)
I am very new to Perl and I wonder how to run it on webservers and all. (or if it can)
推荐答案最常见的三个选项是:
- mod_perl
- FastCGI
- CGI
我推荐 FastCGI 以获得良好的性能,而不会带来大量复杂性.
I'd recommend FastCGI for good performance without massive complication.
块上的新孩子是PSGI/Plack,我无法评论,因为我没有找时间好好看看.
The new kid on the block is PSGI/Plack, which I can't comment on as I haven't found time to look at it properly.
有各种 Web 框架(例如 Catalyst)可以完成很多繁重的工作为您构建 Web 应用程序.大多数都可以通过以上一种以上的方法访问(例如 Catalyst 支持所有四种).
There are various web frameworks (such as Catalyst) which can do a lot of the heavy lifting involved in building a web application for you. Most can be accessed with more than one of the above methods (e.g. Catalyst supports all four).
更多推荐
如何在 Web 服务器上运行 Perl?
发布评论