in reply to Re^4: CPAN/Perl Broken
in thread CPAN/Perl Broken

You are replying correctly, don't worry about that. Something strange is going on. The version of Perl you installed (sudo yum reinstall perl) has CPAN.pm v1.9402. Unless there's something really strange going on (some distros ship a stripped down version of perl I'm told) you shouldn't have to reinstall CPAN.pm (sudo yum reinstall perl-CPAN). Without knowing the background of how your cpan became broken in the first place I'd suggest investigating CPAN.pm which you do have installed, checking it's version. Perhaps something very odd occurred and you have a newer CPAN installed and the reinstallation attempts have confused matters.

Replies are listed 'Best First'.
Re^6: CPAN/Perl Broken
by exquisitemb (Novice) on Jan 08, 2015 at 21:05 UTC
    AHHHH I FIXED IT! I just removed the CPAN.pm file that was V2.05 and it works like magic. Amazing.

      I'm sorry for not responding sooner, I've been busy. I'm glad you resolved the cpan issue you had. This may be a good time to consider building your own version of perl and leaving the system perl alone. It's fairly easy to do manually, and there are tools like perlbrew which does most of the work for you.

Re^6: CPAN/Perl Broken
by exquisitemb (Novice) on Jan 07, 2015 at 17:00 UTC
    Hmm, okay..
    > locate CPAN.pm >/usr/local/share/perl5/CPAN.pm >/usr/share/perl5/CPAN.pm >less /usr/local/share/perl5/CPAN.pm use strict; package CPAN; $CPAN::VERSION = '2.05'; $CPAN::VERSION =~ s/_//; ?? Crap ?? This seems bad. >less /usr/share/perl5/CPAN.pm use strict; package CPAN; $CPAN::VERSION = '1.9402'; $CPAN::VERSION =~ s/_//; Appears to be correct, no?
Re^6: CPAN/Perl Broken
by exquisitemb (Novice) on Jan 08, 2015 at 15:16 UTC
    I notice that in addition to above... The new installation/re-installation of CPAN has been happening in /usr/share/perl5, not in /usr/local/share/perl5. The CPAN in /usr/share/perl5 is from January 7th 2015, and the CPAN in /usr/local/share/perl5 is from April 9th 2014.