From: ts Date: 2002-11-30T20:21:44+09:00 Subject: Re: loop starting not from beginning >>>>> "P" == Phlip writes: P> ts wrote: >>>>>>> "P" == Phlip writes: >> P> New question. What, if anything, is wrong with this? ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ P> File.open("test").readlines.slice(5..-1) do |line| >> >> #slice don't take a block as argument :-) P> Apologies to the newbie, but I think ... each ... of the rest of us can P> figure out how to fix that. You have just asked what is wrong with something that you've not taken the times to test. Now if you don't see that #readlines create an array, and #slices create another just to iterate with #each, this is another problem. Guy Decoux