Hi,

On Tue, May 14, 2002 at 03:39:26AM +0900,
 Dossy wrote:

> cgi['name'] should return an object of type CGI::Param.
> CGI::Param#inspect would return the first value it knows
> of.

I thought so, too. but, is CGI::Param necessary?

cgi["key"] return first value as String.
cgi.params return params as Hash.

foo(cgi["key"])

cgi.params["key"].each() do |value|
  foo(value)
end


-- 
Wakou Aoyama  <wakou / fsinet.or.jp>