Thanks for the reply. I ran the "automatic upgrade" from Linux Mint 20.3 to Linux Mint 21. In order to do this I had to remove a bunch of PPAs and a few other packages that were not compatible with LM21. Thanks for pointing it out, you are right I should have said ~/perl5. When I tried to run perlbrew or a perl script I was getting these errors:
$ perlbrew
ListUtil.c: loadable library and perl binaries are mismatched (got han
+dshake key 0xcd00080, needed 0xeb00080)
$ perl imap-test.pl
ListUtil.c: loadable library and perl binaries are mismatched (got han
+dshake key 0xcd00080, needed 0xeb00080)
[download]
I changed ~/perl5 to ~/perl5-deactivated
and that allowed me to run perl. I ran:
~/perl5--deactivated/perlbrew$ bin/perlbrew version
bin/perlbrew - App::perlbrew/0.94
What is the best way forward? I noted that the latest version is 0.96. If I change the directory back to perl5 and run the install script will it upgrade everything?