>>>>> "D" == David Alan Black <dblack / candle.superlink.net> writes:


 write it like this

D>    def two
D>      fh = File.open("roster")
D>      begin
D>        line = fh.readline
D>      rescue
D>        puts $! + " while looking for END"
D>        exit
D>      end until line.is_end?
D>      fh.close
D>      puts "two: reached END"   

   def two
      fh = File.open("roster")
      begin
	 begin
	    line = fh.readline
	 rescue
	    puts $! + " while looking for END"
	    exit
	 end
      end until line.is_end?
      fh.close
      puts "two: reached END"
   end


Guy Decoux