The Cunctator [[EMAIL PROTECTED]] quoth:
*>
*>So how *does* one configure CPAN.pm to install modules to a private
*>directory?

One reads the documentation.

'perldoc CPAN' or http://theoryx5.uwinnipeg.ca/CPAN/perl/CPAN.html

"5)
I am not root, how can I install a module in a personal directory? 

You will most probably like something like this: 

  o conf makepl_arg "LIB=~/myperl/lib \
                    INSTALLMAN1DIR=~/myperl/man/man1 \
                    INSTALLMAN3DIR=~/myperl/man/man3"
  install Sybase::Sybperl


You can make this setting permanent like all o conf settings with o conf
commit. 

You will have to add ~/myperl/man to the MANPATH environment variable and
also tell your perl programs to look into ~/myperl/lib, e.g. by including 

  use lib "$ENV{HOME}/myperl/lib";


or setting the PERL5LIB environment variable. "

e.

Reply via email to