Hi, many people myself included strongly recommend against using the system Perl on Mac OS. That belongs to the OS. Don't install any libraries into it or count on it continuing to work from version to version.
Instead, use perlbrew to install and manage various Perl versions under your home directory.
This may seem tangential to your immediate issue, but I assure you it is best practise and will likely solve your problem with no further ado, not to mention prevent further ones down the line.
Hope this helps!
The way forward always starts with a minimal test.