Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] Swish 2.4.5 working,

From: Bill Moseley <moseley(at)>
Date: Mon Feb 19 2007 - 15:40:52 GMT
On Mon, Feb 19, 2007 at 03:05:48PM +0100, Bernard T. Higonnet wrote:
> Since I think it should assumed for the time being that Apache/mod_perl is 
> working, the most likely explanation is that Apache is not using the same 
> SWISH::API that the command-line perl script is using (it would be using 
> something left over from my prior unsuccessfull installation of SWISH::API).
> I have never had much luck changing @INC but I guess I'll have to find out 
> how!


Well, I suspect any basic Perl tutorial might explain that -- and
would save you and the list time in the long run.  But,

use lib '/path/to/someplace';

And in a mod_perl handler you could simply one of these:

    warn "@INC";

    warn join "\n", @INC;

    use Date::Dumper;
    warn Dumper @INC;

and watch your error log.

Bill Moseley

Unsubscribe from or help with the swish-e list:

Help with Swish-e:

Users mailing list
Received on Mon Feb 19 10:38:59 2007