Re: Out of Memory Working With Large Files

2003-01-20 Thread Rob Dixon
John W. Krahn wrote: > Rob Dixon wrote: >> >> John W. Krahn wrote: >>> >>> You should _always_ verify that the file opened successfully. >> >> Sure, but that's not what the question was about. You should always >> add 'use strict' and 'use warnings' too, but I didn't put that in >> either. >> >>> m

Re: Out of Memory Working With Large Files

2003-01-20 Thread John W. Krahn
Rob Dixon wrote: > > John W. Krahn wrote: > > Rob Dixon wrote: > >> > >> open FILE, "< file.txt"; > > > > You should _always_ verify that the file opened successfully. > > Sure, but that's not what the question was about. You should always add > 'use strict' and 'use warnings' too, but I

Re: Out of Memory Working With Large Files

2003-01-19 Thread Rob Dixon
John W. Krahn wrote: > Rob Dixon wrote: >> >> Nelson Ray wrote: >>> Just as a little background, I am working on a BioInformatics >>> program that runs on large (about 300 meg) text files. I am using a >>> filehandle to open and load it into an array. Then I use the join >>> command to read the a

Re: Out of Memory Working With Large Files

2003-01-19 Thread John W. Krahn
Rob Dixon wrote: > > Nelson Ray wrote: > > Just as a little background, I am working on a BioInformatics program > > that runs on large (about 300 meg) text files. I am using a > > filehandle to open and load it into an array. Then I use the join > > command to read the array into a scalar varia

Re: Out of Memory Working With Large Files

2003-01-19 Thread John W. Krahn
Nelson Ray wrote: > > Just as a little background, I am working on a BioInformatics program that > runs on large (about 300 meg) text files. I am using a filehandle to open > and load it into an array. Then I use the join command to read the array > into a scalar variable in order to be in a wor

Re: Out of Memory Working With Large Files

2003-01-19 Thread Rob Dixon
Hi Nelson Nelson Ray wrote: > Just as a little background, I am working on a BioInformatics program > that runs on large (about 300 meg) text files. I am using a > filehandle to open and load it into an array. Then I use the join > command to read the array into a scalar variable in order to be