http://www.perlmonks.org?node_id=1017004


in reply to CPAN won't work on Mountain Lion following attempt to install Bundle::CPAN

Another thing: Don't use sudo when installing modules after installing perlbrew. A sudo install post perlbrew will give directories created by the install only root privileges, which will adversely affect subsequent attempts to install modules without sudo, and the whole point of perlbrew is not to have to use sudo.

If you did use sudo, read this link on how I got the permissions corrected.

  • Comment on Re: CPAN won't work on Mountain Lion following attempt to install Bundle::CPAN

Replies are listed 'Best First'.
Re^2: CPAN won't work on Mountain Lion following attempt to install Bundle::CPAN
by tshori (Initiate) on Feb 04, 2013 at 20:08 UTC
    OK!

    Thanks!

    T.
      Hi All,

      I am no expert, but I am pretty sure the problem I am having with installing Bundle::CPAN is Mountain Lion specific. I just unearthed my laptop that has leopard on it. I followed you guys advice, installed perlbrew, with a perl 5.16.0 on it and I went into CPAN and installed Bundle::CPAN and it worked like a charm. I just want to leave this hear so people know!.

      Cheers, T.

        This thread would be more helpful to someone else if you posted the installation command you used as well as the cpan command you used that led you to post this:

        That installation did not work and now cpan does not work anymore.