cpan -u don't know our perl version

natong

Well-Known Member
May 17, 2008
89
1
58
I am using WHM 11.52.2 (build 4) and perl 5.8.8.
When using command cpan -u or cpan -O, it doesn't know which is our perl version.
It list and try to update to latest modules version of perl 5.22.1.

Is these normal behavier?


Code:
root 05:02:02 PM /usr/lib 1057 # cpan -D FindBin
Loading internal null logger. Install Log::Log4perl for logging messages
CPAN: Storable loaded ok (v2.51)
Reading '/home/.cpan/Metadata'
  Database was generated on Wed, 20 Jan 2016 06:41:03 GMT
FindBin
-------------------------------------------------------------------------
        Locate current script bin directory
        S/SH/SHAY/perl-5.22.1.tar.bz2
        /usr/lib/perl5/5.8.8/FindBin.pm
        Installed: 1.47
        CPAN:      1.51  Not up to date
        The Perl5 Porters Mailing List (P5P)
        [email protected]
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,270
463

natong

Well-Known Member
May 17, 2008
89
1
58
I try to update all perl modules for 5.8.8.
I think cpan -u command don't have a separate lists for each perl versions.
cpan -u get the latest module version. Some of them are for perl 5.22.1 only.

In WHM's Module Installers interface (Home >> Software >> Module Installers) too, some of them are for perl 5.22.1 and can't install.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,270
463
Could you elaborate on the specific issue you are facing? For instance, do you have a script with a required Perl module that's failing with a specific error message?

Thank you.