I was trying to install BioPerl on my Mac, with Mountain Lion on it, and the instructions said to install the Bundle::CPAN module. That installation did not work and now cpan does not work anymore. I get this:
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /Library/Pe
+rl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Librar
+y/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Li
+dates/5.12.4 /System/Library/Perl/5.12/darwin-thread-multi-2level /Sy
+-multi-2level /System/Library/Perl/Extras/5.12 /Users/Thori) at /Syst
+em/Library/Perl/5.12/CPAN.pm line 46.
BEGIN failed--compilation aborted at /System/Library/Perl/5.12/CPAN.pm
+ line 46.
Compilation failed in require at /System/Library/Perl/5.12/App/Cpan.pm
+ line 183.
BEGIN failed--compilation aborted at /System/Library/Perl/5.12/App/Cpa
+n.pm line 183.
Compilation failed in require at /usr/bin/cpan5.12 line 9.
BEGIN failed--compilation aborted at /usr/bin/cpan5.12 line 9.
Following this, I had a little freak out, and I used perlbrew to install a local version of perl 5.16. When I tried the same thing, cpan stopped working again, but I fixed it, by resinstalling perl 5.16. Is there anyway other than re-installing the OS, to restore the Native Perl on Mac?