CPAN Dependency On CentOS 7

Home » CentOS » CPAN Dependency On CentOS 7
CentOS 1 Comment

Una a CentOS 7 with minimal install if I install perl-CPAN the first time I
execute cpan to download a mduel, the automatic configuration of CPAN fails for missing Time/HiRes

The package perl-Time-HiRes should be installed as a dependency of perl-CPAN

The exact error is:

Would you like me to automatically choose some CPAN mirror sites for you? (This means connecting to the Internet) [yes]
Trying to fetch a mirror list from the Internet Fetching with HTTP::Tiny:
http://www.perl.org/CPAN/MIRRORED.BY

Looking for CPAN mirrors near you (please be patient)
Can’t locate Time/HiRes.pm in @INC (@INC contains: /usr/local/lib64/perl5
/usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/sha re/perl5 /root) at /usr/share/perl5/Net/Ping.pm line 313.

Ciao, luigi

One thought on - CPAN Dependency On CentOS 7