title: Perl SpreadSheet::XLSX Error: "Cannot open as Zip Archive"
body: <p>I'm trying to use <a href="http://metacpan.org/module/Spreadsheet:XLSX" rel="nofollow"><code>Spreadsheet:XLSX</code></a> to read Excel files, but I get this error message with CSV, XLS, and XLSX file uploads. I had it working previously with <a href="http://metacpan.org/module/Spreadsheet::Read" rel="nofollow"><code>Spreadsheet::Read</code></a> and CSV files.</p>
  
  <p>The code is so simple I just don't know what to troubleshoot.</p>
  
  <p>The file uploads correctly and I have the correct path and filename.</p>
  
  <p>Error message:</p>
  
  <pre><code>Cannot open c:\Website\cgi-bin\bidprocess\files\SEIPA-request-0307123509.xlsx as Zip archive at C:/strawberry/perl/site/lib/Spreadsheet/XLSX.pm line 279.
  </code></pre>
  
  <p>Code:</p>
  
  <pre><code># CHECK FOR VALID FILE 
  my $filename = shift or die "ERROR: File not received.  Please try again.";
  
  #DEBUG
  print $filename;
  
  # READ EXCEL FILE 
  my $workbook = Spreadsheet::XLSX-&gt;new($filename);
  </code></pre>