I had a situation where Net-SSLeay (a dependency for IO-Socket-SSL) failed to build (missing ssl-dev) when deploying with cpanm. The system (debian) already had a much older version of Net-SSLeay installed which met the version dependency of IO-Socket-SSL. Subsequent runs of cpanm wouldn't install the new version of Net-SSLeay until I did a clean deployment (removing the deployed lib directory).
I had a situation where Net-SSLeay (a dependency for IO-Socket-SSL) failed to build (missing ssl-dev) when deploying with cpanm. The system (debian) already had a much older version of Net-SSLeay installed which met the version dependency of IO-Socket-SSL. Subsequent runs of cpanm wouldn't install the new version of Net-SSLeay until I did a clean deployment (removing the deployed lib directory).
cpanm does use the cpanfile.snapshot, correct?