in reply to Why is cpan's option INSTALLDIRS=site putting modules in ~/perl5?

I'm mostly using Redhat distros.

On EPEL6 or older I use perlbrew a whole new install of perl into ~/perl5. On Fedora, however I can live with distro' perl wich is 5.18.2.

My guess is that your on 5.14.2 from your post. I would do a 'mkdir ~/perl5' - then download local::lib and manually install it from the tar. 'perl Makefile.PL –bootstrap ; make test ; make install'.
I tend to favor cpanm so then I run 'curl –k -L http://cpanmin.us | perl – App::cpanminus'. In .bashrc I add two ENV. PERL5LIB=~/perl5/lib/perl5 and_CPANM_OPT=–local-lib=~/perl5.

Hope this helps.
  • Comment on Re: Why is cpan's option INSTALLDIRS=site putting modules in ~/perl5?