Skip to main content.
home | support | download

Back to List Archive

Re: loading swish-e into mod_perl when starting apache

From: data <data64(at)not-real.yahoo.com>
Date: Wed Jun 02 2004 - 13:27:46 GMT
--- Deepesh_Banerji@sybase.com wrote:
> Good day,
> 
> I'd like to load the swish-e libraries into mod_perl
> when Apache starts, so
> that I don't have to use a "use lib qw (location)"
> in my search.cgi file.

Set environment variable PERL5LIB in the apache config
file. 

> What is the best way to enable this? Is there a
> signifant amount of
> overhead if we choose to do so?
> 

You will want to also pre-load the library into
memory. See
http://perl.apache.org/docs/1.0/guide/performance.html#Preloading_Perl_Modules_at_Server_Startup

data64


	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 
Received on Wed Jun 2 06:27:48 2004