title: Why can't I install a module from the CPAN within Cygwin?
body: <p>I'm attempting to install <a href="https://metacpan.org/pod/Spreadsheet::ParseExcel::SaveParser" rel="nofollow"><code>Spreadsheet::ParseExcel::SaveParser</code></a> from the CPAN.</p>
  
  <p>When installing it via:</p>
  
  <pre><code>cpan install Spreadsheet::ParseExcel::SaveParser
  </code></pre>
  
  <p>I get the following unhelpful error during build:</p>
  
  <pre><code>Writing Makefile for Digest::Perl::MD5
  /bin/sh: 0: command not found
  make: *** [blib/lib/Digest/Perl/.exists] Error 127
  /usr/bin/make  -- NOT OK
  </code></pre>
  
  <p><a href="https://metacpan.org/pod/Digest::Perl::MD5" rel="nofollow"><code>Digest::Perl::MD5</code></a> is a dependency.  Does anyone know what is going on?</p>
  
  <hr>
  
  <p>Interesting error when attempting to download the distribution and install it without <code>cpan</code>, executing <code>Makefile.PL</code> gives:</p>
  
  <blockquote>
    <p>Unable to find a perl 5 (by these names: /usr/bin/perl.exe perl.exe perl5.exe perl5.8.7.exe miniperl.exe, in these dirs: . /usr/bin /usr/X11R6/bin /usr/local/bin </p>
  </blockquote>
  
  <p>(followed by the rest of my $PATH. Doing a which perl yields: <code>/usr/bin/perl</code>. <code>perl -v</code> gives a version of 5.8.7.</p>