Interesting solution... I suppose that installdirs=(site||perl) would dictate whether the installation goes into lib/perl/site_perl/5xxxx or lib/perl/5xxxx.
I don't quite understand how my CGI works, as they have some kind of secure set-up. It uses a completely different server, and requires scripts to be permitted 700. I can't determine if it runs as me or if it runs as nobody, and if it runs as me it seems equivocal wether it picks up my PERLLIB environment or not.
Of course, as soon as I write that I realize that I could write a cgi script to find that out rather quickly...
What I have done in the past is create symlinks to the required modules from the CGI directory to my LIB directory, and this seems to work fine.
Perhaps the BEGIN block would be more appropriate...
</ajdelore>
In reply to Re: Re: Location of perl libraries under unix
by ajdelore
in thread Location of perl libraries under unix
by ajdelore
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |