I downloaded Getopt::Declare and ran the script. Here is what I get:
c:> perl demo_csv UNIVERSAL->import is deprecated and will be removed in a future perl a +t C:/Perl5-12-2/site/lib/Getopt/Declare.pm line 5 Unknown entry format: [absmith,1234567,20] Unknown entry format: ["aesmith, the other one",7635656,DNS] Unknown entry format: [cat,dog,22.2] Unknown entry format: [7637843,dejones,66.7] Unknown entry format: [rmwilliams,288721,88] Unknown entry format: [help me,I'm trapped,in the marks system] Unknown entry format: [vtthan,872829,94] c:> perl -v This is perl 5, version 12, subversion 2 (v5.12.2) built for MSWin32-x +86-multi-thread
It is not clear to me what the script should do, but that output looks bad. I recommend that you reduce the code to the minimal amount and explain what you think it should do. I have no experience with the module, and the POD is quite long. Update: see also the module review.

In reply to Re: Getopt::Declare's demo_csv by toolic
in thread Getopt::Declare's demo_csv by sg

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.