perl: symbol lookup error: /usr/local/lib64/perl5/auto/List/Util/Util.so: undefined symbol: Perl_xs_apiversion_bootcheck

we have recently upgraded our system from RHEL7 to RHEL8 , and when executing below command we are getting error

RHEL7.9 = Perl 5.16.3
RHEL8.10 = Perl 5.26.3

Command 1:

perl -MList::Util -e ‘print “$List::Util::VERSIONn”;’

Command 2:

cpan -r List::Util

Command 3:

cpan List::Util

Error:

perl: symbol lookup error:
/usr/local/lib64/perl5/auto/List/Util/Util.so: undefined symbol:
Perl_xs_apiversion_bootcheck

How we can resolve this, since reinstalling module from cpan is not working

Please guide.

Regards,
Samurai