ruby’ists-
the old cgi library returns parameters as an array
cgi[‘k’] => [‘v’]
the new interface returns parameters as a string
cgi[‘k’] => ‘v’
but what if
http://www.foo.bar/cgi-bin/ruby.cgi?k=v0&k=v1&k=v2&k=v3
??
and
cgi[‘k’] => [‘v0’,‘v1’,‘v2’,‘v3’]
is desired??
how is this done using the new api?
-a
···
–
====================================
Ara Howard
NOAA Forecast Systems Laboratory
Information and Technology Services
Data Systems Group
R/FST 325 Broadway
Boulder, CO 80305-3328
Email: ahoward@fsl.noaa.gov
Phone: 303-497-7238
Fax: 303-497-7259
====================================