Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] Swish 2.4.5 working,

From: Bill Moseley <moseley(at)not-real.hank.org>
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!

Hum...

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
moseley@hank.org

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs

_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Mon Feb 19 10:38:59 2007