in reply to Module and software path

Maybe add $softwarepath to @INC, which tells Perl where to look for modules when applying use.

push(@INC, "/usr/local/etc/software"); use module;

I just realized that I was using the same sig for nearly three years.

Replies are listed 'Best First'.
Re: Re: Module and software path
by Anonymous Monk on Mar 17, 2003 at 19:06 UTC
    That doesn't work at all. I don't think you understand the problem. The module needs to know where the software is located on the server, in order to work with it (ie. open certain files, etc).