How to create a website in Perl without CGI?

I asked a separate question about Python here , and I was told that "classic CGI is not the best way to use anything at all. With a classic CGI server to create a new process for each request"

Now I am working on a Perl website using Apache, and all my scripts start with:

use CGI;

This is problem? Is there a new or better way to create a Perl based website?

+4
source share
2 answers

, Plack , Plack (, Catalyst Dancer/Dancer2).

-. CGI script ( , ) FastCGI Apache mod_perl, Apache - Perl, Starman. - uWSGI, FastCGI.

Apache mod_proxy . Apache, URL- Starman.

+9

CGI perl - -. , , -.

perl:

The rational for this decision is that CGI.pm is no longer considered good practice for developing web applications, including quick prototyping and small web scripts. There are far better, cleaner, quicker, easier, safer, more scalable, more extensible, more modern alternatives available at this point in time. These will be documented with CGI::Alternatives

, , " wesbites", "script -", . , - , .

, , , CGI.

+4

All Articles