Slightly off-topic (wot no perl), but I'm sure someone can make use of this.
I've written a couple of Javscript modules (with API-like interfaces) that might be useful to cgi guys. In particular there's one called query.js
which implements a Query class; this lets you interact and code with the query string using three or four simple commands, eg:
var query = new Query(document.location.search);
var names = query.getNames();
var pName = document.forms.pName.value;
var pValue = document.forms.pValue.value;
Using this interface makes it a lot easier to collect parameters and hit a cgi script. It also makes it easy to send data from one webpage to the next (so forms can be spread over two pages, for example).
(along with examples) if you're interested.
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>
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
Want more info? How to link or
or How to display code and escape characters
are good places to start.