in reply to rewinding filehandle/line skipping ?
and as for the "while loop loosing data" thing... I had that problem initially also. :-)