Hi All,
I've created a hook.pm that automates some of the things I do after I create a cPanel account. It compiled and registered without issue.
However, when I create an account, none of the actions are completed. So I need to trace through my code to see whats going on.
I tried to add the cPanel::Logger module, but get a compile error:
Can't locate Cpanel/Logger.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .)
I tried sudo yum install perl-Logger since it worked for the JSON.pm that I also needed, but that didn't work.
I also checked WHM>>Software>>Install a Perl Module, but it wasn't there either.
Any ideas?
I've created a hook.pm that automates some of the things I do after I create a cPanel account. It compiled and registered without issue.
However, when I create an account, none of the actions are completed. So I need to trace through my code to see whats going on.
I tried to add the cPanel::Logger module, but get a compile error:
Can't locate Cpanel/Logger.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .)
I tried sudo yum install perl-Logger since it worked for the JSON.pm that I also needed, but that didn't work.
I also checked WHM>>Software>>Install a Perl Module, but it wasn't there either.
Any ideas?