On a Linux machine I'm using, there is a folder
/home/user/.cpanm/work/ that contains a number of directories of the format
##########.#####, where each directory's name is a sequence of what appear to be arbitrary numbers. Each directory appears to correspond to a particular attempt to install something from CPAN and contains a subdirectory for each module whose install was attempted and a
build.log file.
In my Strawberry Perl installation, these same folders exist in
C:\Users\User\.cpanm\work.
Where are these directories stored in cygwin? I found
/home/user/.local/share/.cpan, but cannot find any of the
##########.##### directories within that directory. Do I need to set some option to save these directories?
EDIT: It seems I was using cpanm on the Linux machine but cpan on cygwin and Strawberry Perl. It seems based on my searching that CPAN actually doesn't keep log files of each build attempt, whereas other build utilities such as CPANM do keep log files by default:
When cpan returns the dreaded "won't install without force"
cpan error messages
It looks like I'll need to install CPANM and start using that on the cygwin installation in order to preserve log files for each build.