> I'm thinking about using PerlRun for some legacy scripts that don't
> use 'my' or use it in wrong places. But I hit one question that I'd
> like to know the answer for.
> 
> PerlRun provides perl interperter that is built into Apache which
> saves time on starting new interpreter. Does it mean that it evals CGI
> script?

Yes.

> If it does then what happens when that script does fork? Does it
> create new instance of httpd since perl interpreter is built into
> httpd?

Yes. The httpd it creates is useless as the parent (web server, not 
the real parent who forked it) doesn't know about it.

See:
http://perl.apache.org/guide/performance.html#Forking_or_Executing_subprocesse



_______________________________________________________________________
Stas Bekman    mailto:[EMAIL PROTECTED]      http://www.stason.org/stas
Perl,CGI,Apache,Linux,Web,Java,PC     http://www.stason.org/stas/TULARC
perl.apache.org    modperl.sourcegarden.org   perlmonth.com    perl.org
single o-> + single o-+ = singlesheaven    http://www.singlesheaven.com

Reply via email to