Here are a few notes from some code I wrote in 2006 (using Win32:OLE and Excel)

# Set the locale to American English, which lets us do things like use # American date formats (e.g. "12-30-98" rather than "30-12-98"). This # will continue to work even when international users have to run this # program on their computers. use Win32::OLE::NLS qw(:DEFAULT :LANG :SUBLANG); $Win32::OLE::LCID = MAKELCID(MAKELANGID(LANG_ENGLISH, SUBLANG_DEFAU +LT));
# The value of $Win32::OLE::Warn determines what happens when an OLE e +rror # occurs. If it's 0, the error is ignored. If it's 2, or if it's 1 & + the # script is running under -w, the Win32::OLE module invokes Carp::car +p(). # If $Win32::OLE::Warn is set to 3, Carp::croak() is invoked and the +pro- # gram dies immediately. $Win32::OLE::Warn = 2;

Excel has a per-cell content length limit that is approximately 32,??? characters (it's not 32,767 or 32,768--it's less than this). Exceeding this limit results in silent truncation by Excel if I correctly recall.

Searched for donuts and crumpit. Found content instead.

In reply to Re: Need help in reading csv files >1GB for converting into xlsx files in Solaris 10 - Perl v-5.8.4 by CoVAX
in thread Need help in reading csv files >1GB for converting into xlsx files in Solaris 10 - Perl v-5.8.4 by GT Learner

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.