On Wed, 14 Sep 2005, David A. Black wrote: >> 3 if input.chomp().length>0 # skip blank lines > > Is it possible that you need chomp! instead of chomp ? (Don't chain it, though :-) David -- David A. Black dblack / wobblini.net