|more useful options|
Fastest way of changing the beginning of a txt file..by pedrete (Acolyte)
|on Feb 18, 2019 at 09:08 UTC||Need Help??|
pedrete has asked for the
wisdom of the Perl Monks concerning the following question:
i want to read a huge text file reading its lines... once i have found the line i was looking for, i want to "cut" the file so it will start at this very line (discarding previous ones).
There are many ways to do this, but looking for the fastest way i was wondering...
is there any way to tell the OS some thing like: "Set actual FILEHANDLE's position as the file-start postion"??? in a way that if i close the FILEHANDLE, then the file will only have valid lines...