Perl: the Markov chain saw | |
PerlMonks |
Re: Handling large filesby unobe (Scribe) |
on Apr 28, 2006 at 04:34 UTC ( [id://546180]=note: print w/replies, xml ) | Need Help?? |
Is the data in the file in some sort of structure by the time you get to the regex you're looking for? If so, maybe using Tie::File to skip however many records are before the regex. You can also go so many records from the last one in the file, without loading the whole file into memory. HTH
In Section
Seekers of Perl Wisdom
|
|