in reply to Re: Finding Line numbers in a file
in thread Finding Line numbers in a file
Nice, but inefficient, and gets worse the bigger the text file is.
Do not do this, use the others, they increase in a linear proportion with the size of the text file, and do not require entire file to be loaded into memory.
---
my name's not Keith, and I'm not reasonable.
my name's not Keith, and I'm not reasonable.
In Section
Seekers of Perl Wisdom