I am learning the rules of the place, if I screw up and someone tells me, I fix it. Not a spammmer, just a beginner.

I am getting an error when I run any of these scripts that ive been working on It says:

format error: can't find EOCD signature at C:/Perl64/lib/Archive/Zip/Archive.pm line 695 Archive::Zip::Archive::_findEndOfCentralDirectory('Archive::Zi +p::Archive =HASH(0x2621d0)', 'IO::File=GLOB(0x2e6bf28)') called at C:/Perl64/lib/ +Archive/Zi p/Archive.pm line 581 Archive::Zip::Archive::readFromFileHandle('Archive::Zip::Archi +ve=HASH(0x 2621d0)', 'IO::File=GLOB(0x2e6bf28)', 'build.xlsx') called at C:/Perl6 +4/lib/Arch ive/Zip/Archive.pm line 548 Archive::Zip::Archive::read('Archive::Zip::Archive=HASH(0x2621 +d0)', 'bui ld.xlsx') called at C:/Perl64/site/lib/Spreadsheet/XLSX.pm line 33 Spreadsheet::XLSX::new('Spreadsheet::XLSX', 'build.xlsx') call +ed at C:\j dproj\build.pl line 5 Cannot open build.xlsx as Zip archive at C:/Perl64/site/lib/Spreadshee +t/XLSX.pm line 33.

Any idea what's causing that?

thank you


In reply to Cant find EOCD signature error? by trickyq

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.