I've used cpanm to install cpan perl modules on my system, however the .cpanm/work directory is 100's of megs and I'd like to delete it.
Can I delete this directory without adversely affecting my cpanm installation?
I've used cpanm to install cpan perl modules on my system, however the .cpanm/work directory is 100's of megs and I'd like to delete it.
Can I delete this directory without adversely affecting my cpanm installation?
Sure, you can.
But, from the cpanm 1.1.2, it automatically cleans up the work directories older than 7 days. You can change this number by using
--auto-cleanup
option: