Out of Memory Working With Large Files

2003-01-19 Thread Nelson Ray
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 workable form for my computation

Count Function?

2003-06-27 Thread Nelson Ray
Does anyone know of any sort of a function or method in perl that returns the number of times a search string exists in a scalar. Say, how many "a's" are there in this sentence? I am able to write it myself, but I was wondering if Perl had an inherent function for cleaner operation. I tried look