in reply to cgi and javascript

CGI's param function is strange. For example, without arguments it returns the names of the parameters. But if you give it one of these names as argument, it returns the value of the parameter. I.e. to get the value of parameter 'foo', use

$x->param('foo')
If it is a multivalued parameter, then make sure you collect the results in an array.

the lowliest monk