in reply to How to fix Perl Installation after system upgrade

If you use perlbrew, you should be safe. But it seems perlbrew itself has problems. List::Util is a core library, maybe you installed a newer version with the old system perl? What's the output of
perl -v perl -le 'print "@INC"'
?

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^2: How to fix Perl Installation after system upgrade
by monsignor (Acolyte) on Nov 21, 2022 at 08:01 UTC

    I found a temporary solution to the problem which was to "deactivate" perlbrew by renaming ~/.perl5 and removing it from the path.

    If I want to put perlbrew back, is there an easy way to find out what packages I had in the old version?