Ben Perhaps this link can help you:
http://www.bluereef.net/support/extensions/development/perlmodinstall.html Theres a statement about setting an environment variable named PERL5LIB which sets all dirs where to search for modules. HtH. Regards Pablo E. Medina >Hi all, > >I have asked this many times but I've never really come across a >satisfactory solution so here goes... > >How can Perl be configured so that the @INC array contains >/usr/local/lib/perl5 (because I want the admin user of a VS to be able >to install Perl modules and /usr/lib/perl5/... is a no-no because its >part of the skel.) > >Ideally, I'd like Perl to look for modules in /usr/local/lib/perl5 >first and then if they are not there, look in /usr/lib/perl5 (the >skel). Also, I recall that Perl (or CPAN?) keeps a log of installed >modules - is there any way to get it to use a file in >/usr/local/lib/perl5 so that the 'admin' user has write perms to it? > >I know that you can add to @INC by running Perl like... > >/usr/bin/perl -I /usr/local/lib/perl5 > >.. but it'll be a bit annoying for our customers to have to do this to >all their scripts > >Is this all only possible with a recompile? (I hate Perl at the best >of times) :( > >Kind Regards, > >-- >Ben Kennish >[EMAIL PROTECTED] > >------------------------- The freeVSD Support List -------------------------- >Subscribe: mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support >Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support >Archives: http://freevsd.org/support/mail-archives/freevsd-support >----------------------------------------------------------------------------- > > ------------------------- The freeVSD Support List -------------------------- Subscribe: mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support Archives: http://freevsd.org/support/mail-archives/freevsd-support -----------------------------------------------------------------------------
