October 2010
Intermediate to advanced
448 pages
15h 29m
English
You can enable the Apache mod_perl module as a way to embed the Perl interpreter directly within your Apache Web server. Doing this makes your CGI script's respond much faster because Apache has most of the Perl code preloaded into memory before the first user visits your Web site. If your CGI scripts import any Perl modules, mod_perl will keep them active in memory after your program is finished, so subsequent CGI load times will become faster.
Without mod_perl, each time a user types in your CGI script's URL, the Apache CGI handler reads the first line of the script to identify the file type and supporting binary interpreter. This is why all your CGI scripts have ...
Read now
Unlock full access