mod_perl program

2002-08-02 Thread masilva3
Hi list, I converted an cgi for mod_perl and sometimes it execute ok, in the others, it show the code of cgi in browser. Anybody know what occur ? thank, Mauricio

Re: mod_perl program

2002-08-02 Thread Stas Bekman
masilva3 wrote: Hi list, I converted an cgi for mod_perl and sometimes it execute ok, in the others, it show the code of cgi in browser. Anybody know what occur ? Did you use: Options +ExecCGI PerlSendHeader On __ Stas

Re: Performance advantages to one large, -or many small mod_perl program?

2000-02-04 Thread Keith Kwiatek
Thanks, and pardon the newbie question, but by "modules" are you referring to ".pm" files placed in the perl lib directory? OR to some other mod_perl type file/cofiguration? Keith The best technique is to write all your code using modules and having only a few lines of code in the

Re: Performance advantages to one large, -or many small mod_perl program?

2000-02-04 Thread Stas Bekman
and pardon the newbie question, but by "modules" are you referring to ".pm" files placed in the perl lib directory? OR to some other mod_perl type file/cofiguration? Keith The best technique is to write all your code using modules and having only a few lines of code in the

Re: Performance advantages to one large, -or many small mod_perl program?

2000-02-04 Thread Stas Bekman
A module is a package that lives in a file of the same name. For example, the Hello::There module would live in Hello/There.pm. For details, read Lperlmod. You'll also find LExporter helpful. If you're writing a C or mixed-language module with both C and Perl, then you should study

Re: Performance advantages to one large, -or many small mod_perl program?

2000-02-04 Thread Leslie Mikesell
According to Ask Bjoern Hansen: Is there any way to make mod_perl reload modified modules in some directories but not check at all in others? I'd like to avoid the overhead of stat'ing the stable modules every time but still automatically pick up changes in things under development.

Performance advantages to one large, -or many small mod_perl program?

2000-02-03 Thread Keith Kwiatek
Hello, Is there any performance advantage (speed, memory consumption) to creating a single, large, mod_perl program that can handle various types of "requests" for database data (fetchUserData fetchPaymentData, fetchSubscriptionData) as opposed to many small mod_perl scripts ea

Re: Performance advantages to one large, -or many small mod_perl program?

2000-02-03 Thread Stas Bekman
Is there any performance advantage (speed, memory consumption) to creating a single, large, mod_perl program that can handle various types of "requests" for database data (fetchUserData fetchPaymentData, fetchSubscriptionData) as opposed to many small mod_perl scripts ea