On 2002.05.13, David Alan Black <dblack / candle.superlink.net> wrote: > > True, but in the Ruby idiom, cgi["name"] ought to return a > > single value. If you want to iterate over all the values, > > you ought to do a cgi["name"].to_a.each to coerce the values > > into an array to iterate over. > > Do you mean the CGI idiom? In Ruby, a hash value can be (and often > is) anything, including an array (which really is a single value, or > rather a single object). Sorry, it's 7:50 AM and I'm still in the "playing with my two year old daughter" mental mode -- you're right, I meant the CGI idiom. -- Dossy -- Dossy Shiobara mail: dossy / panoptic.com Panoptic Computer Network web: http://www.panoptic.com/ "He realized the fastest way to change is to laugh at your own folly -- then you can let go and quickly move on." (p. 70)