From: Daniel N Date: 2006-10-13T15:19:47+09:00 Subject: Large File Reading and Writing ------=_Part_63168_7862399.1160720383617 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, A project that I've currently got at work consists of reading large files and writing another larger file. Unfortunately the machine I'm on is pretty lame and it runs out of RAM pretty quick and so takes a long time. (This is currently in perl and I'm not keen to play with it in perl.) I have had a look around the docs and searched the mailing list ( a quick search ) for how to do buffered reading and writing but I've come up with nothing. I have a bunch of text files. I want to read some lines, and then write a line, the move on to the next line etc but I only want to have a few lines in memory at once. Any clues as to how to achive this? Cheers Daniel ------=_Part_63168_7862399.1160720383617--