Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: How to work on a large Data file line by line

by tubaandy (Deacon)
on Jul 08, 2008 at 16:03 UTC ( #696244=note: print w/replies, xml ) Need Help??


in reply to Re: How to work on a large Data file line by line
in thread How to work on a large Data file line by line

I agree with AM, I've found that opening up and reading the file line by line (and operating on a line, then reading in the next line) works well in this case. However, this typically is only useful if all the data you are working with is in that line. If the data is spread across more lines, that's still not as big of a problem. However, I'd go with MidLifeXis' suggestion below if you need to act on the whole file at once. FWIW.

tubaandy
  • Comment on Re^2: How to work on a large Data file line by line

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2022-08-15 07:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?