John:

if you are truly "required" to use cgi-lib.pl for other than for academic purposes, you should be aware that, in the words of www.cs.cf.ac.uk/Dave/PERL/node230.html "(it has) largely been superseded by cgi.pm -- a much larger object oriented cgi processing module." You can readily obtain that current standard for free from CPAN or from a vendor of windows implementations such as Active State.

Security is one of the considerations. If an employer is requiring use of cgi-lib.pl, you should probably protect yourself and the employer by warning of the potential for problems.

If you must use cgi-lib.pl because of academic requirements, the file itself contains useful explanatory material; simply open it with your editor. You can find much additional material on both the issues and it's use, by SEARCHing here (which turns up nodes such as cgi-lib.pl and by googling the filename. (Oddly, and perhaps owing to caffeine deficiency or the lateness of the hour, I found no pod in the copy I retain -- for no really good reason -- but generally, pods are useful resources.)

welcome to perl and to the monastery...


In reply to Re: What is cgi-lib.pl and how do I use it? by ww
in thread What is cgi-lib.pl and how do I use it? by johnny0723

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.