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


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

Restore your system version of Perl, and don't mess with it outside of the standard OS-level upgrades. There are OS-level applications that depend upon a certain base configuration to accomplish what they do.

Instead, use something like perlbrew to manage a second (third, fourth...) Perl installation that you use for development.

If you use TimeMachine, you should be able to restore the directories in the error messages to a certain state, but that is not something I would look forward to doing by hand.

Also, please add <code>...</code> tags around your code, data, and error messages to make it easier to read. OP updated with code tags. Thanks.

Update: Glossed over the majority of the unformatted text as error text. OP has used the perlbrew route and is asking a different question.

--MidLifeXis

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 19:41 UTC
    Hey,

    Thanks. The system perl is working fine. I changed $PATH back to the original system perl, and i runs scripts and all of that.

    Do you think I need to worry that the native cpan binary doesn't seem to work? Does the OS install any modules that way, does it even need it?

    Thanks! T.