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)>
Date: Wed Jun 02 2004 - 13:27:46 GMT
--- 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

> 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


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