while( <OUT> ){ $. % 1000 or print "line $. \n"; # do stuff here } [download]
In reply to Re: Iterating through HUGE FILES by sh1tn in thread Iterating through HUGE FILES by jmaya