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...
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|