Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Handling large files

by unobe (Scribe)
on Apr 28, 2006 at 04:34 UTC ( #546180=note: print w/ replies, xml ) Need Help??


in reply to Handling large files

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://546180]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2016-06-28 10:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (356 votes). Check out past polls.