Skip to main content.
home | support | download

Back to List Archive

Re: How to install Perl Packages?

From: Bill Moseley <moseley(at)>
Date: Thu Jun 06 2002 - 20:43:18 GMT
At 01:33 PM 06/06/02 -0700, Jody Cleveland wrote:
>Hi Bill,
>Where would I copy that folder to?

A linux web server?   

Oh, sorry.  ;)

Perl just needs to know where it can find those modules.  The script is
hard-coded from the factory to look in the "modules" directory.  So that
would be a sub-directory of where you install the script.

Or you can just adjust the script:

The script starts out like:

#!/usr/local/bin/perl -w
package SwishSearch;
use strict;

use lib qw( modules );  ### This may need to be adjusted!
                        ### It should point to the location of the
                        ### associated script modules directory

So, you can put the modues directory any place you like that is readable by
the web server.  So if you unpacked Swish-e in c:/home/Jody/swish-e you
might write:

   use lib 'c:/home/Jody/swish-e/modules';

Bill Moseley
Received on Thu Jun 6 20:46:47 2002