如何在 Web 服务器上运行 Perl?

编程入门 行业动态 更新时间:2024-10-27 04:24:10
本文介绍了如何在 Web 服务器上运行 Perl?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我对 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?

本文发布于:2023-11-23 10:38:33,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1621138.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:器上   如何在   Web   Perl

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!