To get more about what your server gives/takes as parameters ; which parameters you can use through $ENV and param as shown above you can use this little perl script.
#!/usr/bin/perl
print "Content-type: text/html\n\n";
while (($key, $val) = each %ENV) {
print "$key = $val<BR>\n";
}