There's more than one way to do things | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
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. In reply to Re^2: Finding Line numbers in a file
by reasonablekeith
|
|