On Fri, 14 Mar 2003 10:47:52 -0500, [EMAIL PROTECTED] (Brian
Jefferies) wrote:

>       Is there a general consensus regarding compiling perl into binary
>executable?
>
>
>I love perl, but I don't understand the sense in re-compiling the same cgi
>script (for example) 10,000 times a day.
>
>I have read and tested "perlcc -b" and found no performance improvement over
>running the .pl.

Get the fastcgi module. It works on almost any script. It compiles the
script once, and keeps a copy in memory. You can set different
configurations for different scripts(like how many spare copies to
keep). Some can be fastcgi, and others not. Some can be dynamic(fresh
cgi for each call) or static(reuse same cgi, with problems of variables
overlapping).

It's alot easier to use than mod_perl.

If you need a similar function, but not cgi, try the PersistentPerl
module. It does similar things, but on plain perl scripts run locally.



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to