@values = $query->param('foo');
-or-
$value = $query->param('foo');
Pass the param
method a single argument to fetch the value of
the named parameter. If the parameter is multivalued (e.g. from multiple
selections in a scrolling list), you can ask to receive an array. Otherwise
the method will return a single value.