Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I run Perl on web servers?

Tags:

perl

I am very new to Perl and I wonder how to run it on webservers and all. (or if it can)

like image 828
H4cKL0rD Avatar asked Dec 03 '22 06:12

H4cKL0rD


1 Answers

The three commonest options are:

  • mod_perl
  • FastCGI
  • CGI

I'd recommend FastCGI for good performance without massive complication.

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.

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).

like image 129
Quentin Avatar answered Dec 18 '22 12:12

Quentin