From: Damphyr Date: 2004-01-30T06:23:09+09:00 Subject: Re: wierd cgi behaviour in PP Ruby 1.8.0 walter@mwsewall.com wrote: >>Well it's the short calm period before the storm of an upcoming too much blabla >> >> >>Does anybody have any idea why this would happen? >>I'll test it on an Apache installation I've got, but I can't see why >>it would be any different. V.- >> > > > > I believe cgi.params will return an array of values. So if the url > was url?name=one then cgi.params["name"] would be ["one"] and that > would show up as not existing but a single valued array would just > print the value using "#{}". > And yes you are right. According to the Pickaxe book, CGI#params returns a hash - I just didn't expect the value of the hash to be an array - silly me. Thanx, V.- ____________________________________________________________________ http://www.freemail.gr - ������ �������� ������������ ������������. http://www.freemail.gr - free email service for the Greek-speaking.