From: John Fink Date: 2006-07-20T04:09:51+09:00 Subject: Re: maybe I don't understand the .to_a method... ------=_Part_70608_8194711.1153336179068 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 7/19/06, Adam Shelly wrote: > > Http requests return a two-element array with the response and the data. > > try : > def testget filename > #... > response,data = Net::HTTP.start(url.host, url.port) {|http| http.request(req) > } > data > # > test = testget(filename).split Aha, so that's why the cryptic stuff at the beginning of the output... thank you! jf ------=_Part_70608_8194711.1153336179068--