From: Corey Watts Date: 2010-10-30T15:19:57+09:00 Subject: Re: mechanize - extract href Robert, Thanks again for your help. This script above is actually part of a larger script, but I was just showing you the smaller portion for clarity. I've attached the whole script, in order to put the for loop in context. I'm using the for loop to grab multiple pages in succession. Hopefully this makes it more clear. I've made all the changes you recommended, except consolidating the puts statements. Could you explain how I would do that? Thank you! Attachments: http://www.ruby-forum.com/attachment/5267/total.rb -- Posted via http://www.ruby-forum.com/.