Best practices for running Perl?

luben karavelov luben at unixsol.org
Sat May 2 06:10:57 MSD 2009


Michael Shadle wrote:
> I am coming from the camp where I cannot alter the application. Coding 
> one from scratch sure you can impelement an fcgi interface.
> 

It is already implemented. it is as simple as:

use CGI::Fast;
use FCGI::ProcManager qw(pm_manage);
pm_manage( n_processes => 10 );
while (my $cgi = CGI::Fast->new()) {
    ...
}


Best regards
Luben





More information about the nginx mailing list