How to get started with Perl CGI?

Where is a good place to learn how to use CGI with perl to build websites?

I will work on Linux with apache2, but there is a chance that I can work on Windows for our company. I need to make a site for internal use only, which can be run on Windows using IIS.

+3
source share
6 answers

If you have not logged into CGI, forget about it - its outdated and sloppy. Some alternatives are listed in this related question .

+4
source

CGI CPAN CGI, . CGI.pm() , . , CGI:: Session . CGI, CGI:: Application .

Template:: Toolkit HTML:: Template.

, CGI Perl (O'Reilly). , CGI. ( , , ). . , , Unicode, - CGI. .

, POD CGI, CGI:: Session. .

"" , CGI, - . , , CGI:: Application, Catalyst, Mojolicious . . : " ...". , , CGI .

+4

, CGI.

curl -L http://cpanmin.us | perl - --sudo App::cpanminus
cpanm --interactive Task::Plack

( ), Perl/- - Plack .

Miyagawa Plack, perl/web/app-dev/.;)

+3

CGI CGI. -, CGI, .

+2

, , CGI perl -?

, " dot-com" 90- - , CGI .

, , , - , mod_perl FastCGI, , ​​ Catalyst Plack.

+1

Please do not learn CGI. Check out instead the modern and clean Perl web engine like Dancer or Mojolicious . And if you want to understand the lower levels of the modern Perl 5 stack, read the PSGI .

+1
source

All Articles