in reply to How does the while works in case of Filehandle when reading a gigantic file in Perl
Does while has to parse through all the lines it has already read to go to the next unread line or something like that?
to answer that it does not !.if you making one pass thru the file it should not so much unless it a really huge file. since no more info is there , i can suggest you use {do something } or next; -- to skip lines not needed
|
|---|