Well, I hate to have this be my first post here, but I have a problem of my own making. I believe I may have over-written some system Perl (5.8.8) modules. I had installed perlbrew to be able to use Perl 5.26.1 and when I couldn't get it to install a module, I used the wrong command path for cpanm which overwrote(?) some of the system modules. I need to see if there's an easy way to restore the system modules back to what they were before. I don't know if this would have helped, but Backup Configuration wasn't enabled before today since this is a newer account.
Here's what's happening. I'm trying to run a script that simply prints out @INC and this is what I get:
# /home/user/scripts/print_inc_list.pl
Attempt to reload List/Util.pm aborted.
Compilation failed in require at /home/user/perl5/lib/perl5/x86_64-linux/Scalar/Util.pm line 23.
Compilation failed in require at /home/user/perl5/lib/perl5/Moo.pm line 14.
BEGIN failed--compilation aborted at /home/user/perl5/lib/perl5/Moo.pm line 14.
Compilation failed in require at /home/user/perl5/lib/perl5/Email/Sender/Simple.pm line 4.
BEGIN failed--compilation aborted at /home/user/perl5/lib/perl5/Email/Sender/Simple.pm line 4.
Compilation failed in require at /home/user/scripts/../perl/Modules/EmailSender.pm line 12.
BEGIN failed--compilation aborted at /home/user/scripts/../perl/Modules/EmailSender.pm line 12.
Compilation failed in require at /home/user/scripts/inc_list_latest.pl line 8.
BEGIN failed--compilation aborted at /home/user/scripts/inc_list_latest.pl line 8.
If it is a problem with the modules, as I suspect, I don't know how many were inadvertently updated. Do I need to completely reinstall cPanel, or is there a less invasive way to fix this situation?
Thanks,
Frank
CENTOS 6.9 virtuozzo v68.0.23
Here's what's happening. I'm trying to run a script that simply prints out @INC and this is what I get:
# /home/user/scripts/print_inc_list.pl
Attempt to reload List/Util.pm aborted.
Compilation failed in require at /home/user/perl5/lib/perl5/x86_64-linux/Scalar/Util.pm line 23.
Compilation failed in require at /home/user/perl5/lib/perl5/Moo.pm line 14.
BEGIN failed--compilation aborted at /home/user/perl5/lib/perl5/Moo.pm line 14.
Compilation failed in require at /home/user/perl5/lib/perl5/Email/Sender/Simple.pm line 4.
BEGIN failed--compilation aborted at /home/user/perl5/lib/perl5/Email/Sender/Simple.pm line 4.
Compilation failed in require at /home/user/scripts/../perl/Modules/EmailSender.pm line 12.
BEGIN failed--compilation aborted at /home/user/scripts/../perl/Modules/EmailSender.pm line 12.
Compilation failed in require at /home/user/scripts/inc_list_latest.pl line 8.
BEGIN failed--compilation aborted at /home/user/scripts/inc_list_latest.pl line 8.
If it is a problem with the modules, as I suspect, I don't know how many were inadvertently updated. Do I need to completely reinstall cPanel, or is there a less invasive way to fix this situation?
Thanks,
Frank
CENTOS 6.9 virtuozzo v68.0.23