> It is my understanding that Apache::Registry allows me to run CGI 
> scripts with out any modifications. Using this approach, Apache will 
> load the script into memory at startup. Whenever there is a request 
> for that script, it is already loaded and is executed on the fly with
> out the need to compile the code. Great!

If you use less than 'strict' coding practices, your CGI script may
exhibit problems if run as an Apache::Registry script with no
modifications. I believe Apache::PerlRun is closer to what you describe.

Refer to the guide: http://perl.apache.org/guide/
and specifically:   http://perl.apache.org/guide/porting.html

> Is it also my understanding that a CGI script can be run as a deamon. 
> Also, the script is loaded into memory and, if a request comes in, 
> there is not need to compile the code since the script is already 
> running.

There are products which do this, like Velocigen's (for example). These
solutions may or may not be free and they do not have mod_perl's
flexibilty if you ever want to do more than Apache::Registry scripts. I
don't know about performance, but I can't see them being any faster.

ELB

--
Eric L. Brine  |  Chicken: The egg's way of making more eggs.
[EMAIL PROTECTED]  |  Do you always hit the nail on the thumb?
ICQ# 4629314   |  An optimist thinks thorn bushes have roses.

Reply via email to