From: ahoward Date: 2003-05-07T01:06:54+09:00 Subject: %w(foo) v.s. ['foo'] rubyists- any idea why this: year, month, day = ['year','month','day'].map{|k| cgi[k]} should yeild different results than this: year, month, day = %w(year month day).map{|k| cgi[k]} this first case, with identical form data, results in expected behavior, the second results in all values being nil. -a -- ==================================== | Ara Howard | NOAA Forecast Systems Laboratory | Information and Technology Services | Data Systems Group | R/FST 325 Broadway | Boulder, CO 80305-3328 | Email: ara.t.howard@fsl.noaa.gov | Phone: 303-497-7238 | Fax: 303-497-7259 ====================================