Perl docs
From MWCSWiki
Example syntax:<br> new Ajax.Request('/~ehols9do/cgi-bin/dir.cgi', {parameters:'dir=' + encodeURIComponent(dir), onSuccess:handlerFunc});
dir.cgi
<pre> Input: String dir: Directory that you wish to get the dir contents of. Output: JSON Object representing hash in the form: file -> "type" where type is "dir" for a directory, and the file extension for a normal file. </pre>
nis.cgi
<pre> Input: un: username pw: password Output: Boolean whether the user entered a correct password </pre>
info.cgi
<pre> Input: String file: the file to get the info of. Output: JSON Object representing a hash in the form: size -> int size of file mode -> Permissions of file </pre>
func.cgi
<pre> Input: String file: the full filepath to the file to take action on. String newfile: for mv and cp, the new filename to give it. String func: the function to perform (mkdir,rmdir, rm, touch, head) String dir: the directory the file is in (in case the file doesn't have the full path, depreciated)
Output: Output of the command. </pre>

