The second problem is the @INC. Is there a way to fool a root-installed binary into adding your ~/my-mods to @INC?
Well, you could set PERL5LIB before you run that binary.
Is there a transparent way to globally modify @INC?
What do you mean by "globaly"? For every process run by a specific user? Set PERL5LIB in that user's login script (actual syntax and filename depends on that user's shell).
Update: (Thanks to borisz): meant to write PERL5LIB, wrote PERL5INC instead. Apologies for the bainfart.
In reply to Re: CPAN non-root questions
by matija
in thread CPAN non-root questions
by jettero
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |