It is safe to move /home/.cpan. I recommend moving it, not deleting it, until you are sure you no longer need it.
After moving/renaming /home/.cpan, I recommend running the following commands:
Code:
# perl -MCPAN -e shell
cpan> install Bundle::CPAN
cpan> reload index
cpan> reload cpan
cpan> exit
# /scripts/checkperlmodules --full
This will make sure that all the sources that CPAN needs are present and up to date, and also that all Perl modules that cPanel needs are installed.
The CPAN sources should be fetched anyway when checkperlmodules runs, such as during a regular cPanel update, but following this procedure will let you make sure it completes and no problems are detected.
Once this is finished, it should be safe to remove the old /home/.cpan that you renamed before you started the above procedure.