in reply to
Re: taking sections out of a file and put it in an array
in thread taking sections out of a file and put it in an array
The problem is that it assumes that everything is on one line while the text is on multiple lines so it has to keep putting it in the array unless the line contains the $.
I have tried to use while in the while loop but it gets out of memory. Is their an easy way when a line is found to keep adding the lines in the array untill something else is found in a next line.