It may be a moot point, but I think it would be advisable to move over to CGI.pm as opposed to cgi-lib.pl. The functionality is pretty much the same, and (I think) the query parameters are easier to access. Any programmer who might later look at your code will expect CGI.pm. All in all, I guess it all depends on whether or not you want to spend the time porting to CGI.pm.
As an interesting side note, Tom Christiansen wrote a little piece in 1996 about using CGI.pm instead of cgi-lib.pl. A lot of it doesn't really apply now, but it's somewhat amusing to read now.
-ppm
-
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.
|