From: Tim Wolak Date: 2008-06-14T01:57:48+09:00 Subject: Re: looping > Is there a naming conflict with the variable "t?" Try changing > > list.scan(/\d{8}/) do |t| > > to use a different variable. > > -Dana Thanks Dana, There is not a conflict, when print out the variables used I can see it reading the first line and then that's all it reads. If write in next instead of exit it will loop through all the lines. If the test fails it should hit the sleep instruction which it won't do. Thanks, Tim -- Posted via http://www.ruby-forum.com/.