in reply to CPAN won't install into personal directory; probably an o conf problem

What am I doing wrong?

You are not using local::lib :-) It's as easy as this:

How to use the local::lib module: Use the --bootstrap method to install local::lib according to its inst +allation instructions and then echo 'eval $(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)' >>~/.bashrc then run cpan shell this way perl -MCPAN -Mlocal::lib -e shell you may need to cpan> reload cpan cpan> o conf init connect_to_internet_ok urllist cpan> install Crypt::Rijndael # for example

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh
  • Comment on Re: CPAN won't install into personal directory; probably an o conf problem
  • Download Code

Replies are listed 'Best First'.
Re^2: CPAN won't install into personal directory; probably an o conf problem
by throop (Chaplain) on Apr 25, 2012 at 20:22 UTC
    Thanks! that worked wonderfully.

    BTW, something I found only through trial and error: I downloaded and untarred local::lib, and connected to the directory it created ( local-lib-1.008004). I created the makefile:

    perl Makefile.PL --bootstrap=/home/dthroop
    and followed the directions.

    When all was said and done, this resulted in

    $ cpan > install Data::Table
    placing its code in
    /home/dthroop/perl5/lib/perl5/Data/Table.pm