in reply to New to PERL

Searching for "does not contain a Line-Count header" sent me here . Their solution is to **erase** the ~/.cpan by mv ~/.cpan ~/.cpan-ori ; cpan -u (the same user you are trying to install). You can restore it back by rm -rf ~/.cpan; mv ~/.cpan-ori ~/.cpan ; cpan -u. They also mention that cpan and perl versions must match. WARNING: as it involves erasing a folder, check that this is OK. Also, you don't seem to run this as root?

bw, bliako

Replies are listed 'Best First'.
Re^2: New to PERL
by TimeBandit (Novice) on Mar 24, 2022 at 17:48 UTC
    Thanks. Yes I read that also. Not running as root. Have a few extra things in my .profile and I didn't want to screw up any one else. But I can try it with root.