From: Kurt Euler Date: 2003-09-04T16:21:17+09:00 Subject: Any way to advance to an iterator prematurely? All- In the code below, is there an way to put a condition just before that will cause the iterator to advance to the next x (the next line in control.txt) WITHOUT doing . I thinking something like "if field[0] != "test" read_next_line_in_file". I'd rather not put in a giant if/end statement. IO.foreach("control.txt") { |x| field = x.chop.split('\t', -1) } Thanks! -Kurt