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

Sorry, I should have asked, what is the output of perl -v?

Replies are listed 'Best First'.
Re^4: CPAN/Perl Broken
by exquisitemb (Novice) on Jan 07, 2015 at 16:25 UTC
    Oh, bleh. Yeah I should have posted that.
    > perl -v > This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi
Re^4: CPAN/Perl Broken
by exquisitemb (Novice) on Jan 07, 2015 at 16:31 UTC
    v5.10.1 Feels like I'm failing at replying correctly.

      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.

        AHHHH I FIXED IT! I just removed the CPAN.pm file that was V2.05 and it works like magic. Amazing.
        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?
        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.