From: "ara.t.howard" Date: 2008-07-26T04:18:57+09:00 Subject: Re: Simultaneously URL call, is it possible? On Jul 25, 2008, at 1:02 PM, Bret Pettichord wrote: > I think this needs a call to Thread#join after all the the threads > have been > created. Otherwise the script will exit before the threads have > executed. why make it hard? # gem install threadify require 'rubygems' require 'open-uri' require 'threadify' results = %w( http://google.com http://yahoo.com http:// foo.bar.com ).threadify do |uri| open(uri){|fd| fd.read} end a @ http://codeforpeople.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama