Skip to main content.
home | support | download

Back to List Archive

Re: Re: How to install Perl Packages?

From: Bill Moseley <moseley(at)>
Date: Fri Jun 07 2002 - 07:12:42 GMT
At 12:02 AM 06/07/02 -0700, David L Norris wrote:
>It seems important that you remove the shebang line (else it tries to
>execute it):


>I changed the use lib line to:
>  use lib qw( C:/swish-e/example/modules );
>Then I edited these lines in default_config:
>  swish_binary = "c:/swish-e/swish-e.exe"
>  swish_index = "c:/swish-e/index.swish-e"

  swish_binary => "c:/swish-e/swish-e.exe",
  swish_index => "c:/swish-e/index.swish-e",

For the fun of it you might try creating a .swishcgi.conf file.  That would
avoid having to edit the actual script.



unshift @INC, 'C:/swish-e/example/modules';

return {
  swish_binary => "c:/swish-e/swish-e.exe",
  swish_index => "c:/swish-e/index.swish-e",

And place it in the same directory as the script.  I can't remember if that
unshift @INC is early enough for the require's in the script.

Bill Moseley
Received on Fri Jun 7 00:12:50 2002