Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re: taking sections out of a file and put it in an array

by juo (Curate)
on Dec 09, 2002 at 10:46 UTC ( #218492=note: print w/ replies, xml ) Need Help??


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.


Comment on Re: Re: taking sections out of a file and put it in an array

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2014-07-30 12:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (231 votes), past polls