What I did wasn't perfect but works well enough for now. After removing both directories I was able to run cpan with no problems. The cpanp command came up with errors on several missing packages. I used cpan to reinstall those missing packages and now have cpanp working as well as cpan. I figure with the two of those perl installation and update programs working should a problem arise in the future I'll probably be able to fix it with one of the utilities. On Sat, 24 Jun 2017, Jude DaShiell wrote:
Date: Sat, 24 Jun 2017 11:51:12 From: Jude DaShiell <jdashiel@panix.com> Reply-To: General Discussion about Arch Linux <arch-general@archlinux.org> To: Hunter Jozwiak via arch-general <arch-general@archlinux.org>, Joey Pabalinas <alyptik@protonmail.com> Subject: Re: [arch-general] Perl Help?
What were all packages you reinstalled after deleting /usr/lib/perl5/ and /usr/share/perl5/?
On Fri, 16 Jun 2017, Hunter Jozwiak via arch-general wrote:
Date: Fri, 16 Jun 2017 10:20:42 From: Hunter Jozwiak via arch-general <arch-general@archlinux.org> To: Joey Pabalinas <alyptik@protonmail.com>, General Discussion about Arch Linux <arch-general@archlinux.org> Cc: Hunter Jozwiak <hunter.t.joz@gmail.com> Subject: Re: [arch-general] Perl Help?
On Fri, 2017-06-09 at 12:38 -0400, Joey Pabalinas via arch-general wrote:
On Fri, Jun 9, 2017 at 3:11 PM, Hunter Jozwiak via arch-general <arch-general@archlinux.org> wrote:
I got bit by Perl this morning after I did an update. I got an error about having a handshake error with ListUtil.c, and I don't know how to resolve this error.
If you have a ~/perl5/lib from using CPAN, files using the wrong Perl version in there may also be causing this error; try:
?mv ~/perl5/lib{,-bak}?
to see if this is the cause. If this doesn't work, you can easily revert the change with:
?mv ~/perl5/lib{-bak,}?
-- Joey Pabalinas <alyptik@protonmail.com>
I was able to get rid of the problem by deleting /usr/lib/perl5 and /usr/share/perl5 and reinstalling all packages. I also deleted the Perl directory in my home directory, and all things are working nicely. Hope this helps someone if they have this problem in the future.
--