How can I run Perl on web servers?

前端 未结 4 1039
别跟我提以往
别跟我提以往 2021-01-14 00:29

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

4条回答
  •  不知归路
    2021-01-14 01:25

    You can even run Perl as a webserver :)

    For eq: Continuity

    use strict;
    use warnings;
    use Continuity;
    
    Continuity->new->loop;
    
    sub main {
        my $request = shift;
        $request->print( '

    Hello world

    ' ); }

    You can then looking into doing a Reverse Proxy in front of these.

    /I3az/

提交回复
热议问题