Hello Monks,

I have written a script using the Spreadsheet::WriteExcel module to create Microsoft Excel documents. I'm satisfied with the script and I now want to create an executable of it and to achieve that I'm using CAVA packager. CAVA has worked fine for me before but now I'm having some issues. When running the executable generated by CAVA I get the following error message:

Unrecognized character \x07 in column 1Compilation failed in require a +t <content >/AutoLoader.pm line 28. at <Packaged Modules>/POSIX line 25 BEGIN failed--compilation aborted at <Packaged Modules>/Spreadsheet::W +riteExcel: :Properties line 18. Compilation failed in require at <Packaged Modules>/Spreadsheet::Write +Excel::Wor kbook line 22. BEGIN failed--compilation aborted at <Packaged Modules>/Spreadsheet::W +riteExcel: :Workbook line 22. Compilation failed in require at <Packaged Modules>/Spreadsheet::Write +Excel line 17. BEGIN failed--compilation aborted at <Packaged Modules>/Spreadsheet::W +riteExcel line 17. Compilation failed in require at <Packaged Modules>/csct.pl line 13. BEGIN failed--compilation aborted at <Packaged Modules>/csct.pl line 1 +3.

If I remove the "use Spreadsheet::WriteExcel" command in my script the error message above dissapears but so does also the functionality in my script, of course. I have included Spreadsheet::WriteExcel in the Force include module list but the problem is still there. I don't really understand what goes wrong here so if anyone has any ideas on how to fix it, please share them with me!

Some additional information about my environment:

OS: Windows XP

Perl version: ActivePerl 5.10.1 Build 1007

Spreadsheet::WriteExcel version: 2.37

CAVA packager version: 2.0.40.377


In reply to Spreadsheet::WriteExcel and Cava packager by samuelalfred

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.