Apparently some recent cPanel shenanigans have caused problems on some systems with the Perl Module Scalar::Utils. It appears that it may have been modified, removed or something similar. If this is the case, you may see cpan installs failing, EasyApache installs failing, /scripts/perlinstaller installs failing, and more.
The errors will look something like:
Reinstalling this module is rather interesting as it appears that once you start, the module requires itself to continue the install. Re-installing the Perl RPM does not fix this. It is prevalent enough that cPanel’s written a fix for it:
Run that, and run the perlinstaller afterwards to check your work with:
And you should be good.