Skip to main content.
home | support | download

Back to List Archive

Re: API.pm Failure

From: Aaron Bazar <aaronb(at)not-real.spamcop.net>
Date: Fri Oct 17 2003 - 00:40:58 GMT
I had the same issue on my newest servers. They were all running
a higher version of perl. I just changed the use line to:
use lib qw( /swish243/lib/swish-e/perl
/swish243/lib/perl5/site_perl/5.6.1/i386-linux );


For some reason, that fixed the problem.


Aaron Bazar
http://www.internetproductsearch.com
http://www.comphardware.biz

-----Original Message-----
From: swish-e@sunsite.berkeley.edu
[mailto:swish-e@sunsite.berkeley.edu]On Behalf Of Bill Moseley
Sent: Thursday, October 16, 2003 6:30 PM
To: Multiple recipients of list
Subject: [SWISH-E] Re: API.pm Failure


On Thu, Oct 16, 2003 at 03:16:30PM -0700, Bruce Pettyjohn wrote:
> Here is the perl code:
> ===============
>          use lib
>
qw(/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris-thread-multi
/auto/SWISH/API);

That's not the path you probably want to use.  If the file API.pm
is
located at
/usr/local/lib/perl5/site_perl/5.8.0/i686-linux/SWISH/API.pm
then you use say:

  use lib '/usr/local/lib/perl5/site_perl/5.8.0/i686-linux';

It works just like a path with :: changed to /.
--
Bill Moseley
moseley@hank.org
Received on Fri Oct 17 00:41:02 2003