"Okay, I removed the colors."

But you have failed to add an Update: indicating this change. Please reread "How do I change/delete my post?" which will explain that to you; in particular, note the It is uncool to update a node in a way that renders replies confusing or meaningless section. I recall we had this discussion last month: "Re^2: Error handling in a module".

"To make it work, I added a dummy file into the lib directory of perl called warnings.pm ..."

So, your code relies on this addition of a "dummy" pragmatic module; however, your post still retains the statement "... it does not rely on any Perl modules ..." which you should correct.

I suggest you look at $^W which was available in Perl 5.004 (see https://metacpan.org/release/CHIPS/perl5.004/view/pod/perlvar.pod#$^W).

If you are going to present code to run on ancient versions of Perl — 5.004 was released 26 years ago; see perlhist — please state that clearly near the start of your post. As it stands, you have to scroll through an entire screenful of comments to find 'use 5.004;'.

Please reread "Writeup Formatting Tips"; this time paying attention to the Use <readmore> tags in long posts section. The code you posted takes up 14 screenfuls on my 27" monitor; probably many more for those with smaller devices. Please be considerate of your fellow monks.

— Ken


In reply to Re^4: PERL csv files to Excel by kcott
in thread PERL csv files to Excel by slick.user

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.