First try to upgrade perl this is the main reason for a cpanel error.
http://www.ezlinuxadmin.com/2009/08/upgrading-perl-on-cpanel/
After that if you still have a issue run this:
/scripts/perlinstaller –force YAML::Syck
or Install the YAML::Syck perl module in whm under module installers.