From: Darin Ginther Date: 2009-02-03T04:14:43+09:00 Subject: Noob question: while or for loop within a list Essentially I want to do the following: list = "url1, irl2, url3, url4, url5" while [ list ]; #in other words, we loop 5 times or = # things in list do #A Bunch of Stuff 1 #A Bunch of Stuff 2 done My list is essentially a list of URLs. I'm most familiar with doing it in a text list, but I guess I could create an array, count that array, and then do a loop with a counter. Suggestions / Best practices? -- Posted via http://www.ruby-forum.com/.