First comment, take a look at CGI, It comes standard with any recent version of perl.
(The cgi-lib site may say it "has become the de facto standard library" for CGIs, but you'll aso notice that page was last updated in 1998.)

Second comment: whenever post to perlmonks, you should allways post your acctual code (or the smallest example you can write that causes hte same error), and the exact error you get -- it helps people help you

Third comment: if you must use cgi-lib.pl, please read the documentation and examples more carefully (&ReadParse doesn't return an array)

(Edited: i just realized that [CPAN://CGI] isn't as usefull of a link as I thought, so i updated it to point to the local copy of the CGI perldoc)


In reply to Re: strict by hossman
in thread strict problem by december

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.