Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: need help to create array dynamically

by vkp (Novice)
on Jan 23, 2013 at 19:15 UTC ( #1014999=note: print w/ replies, xml ) Need Help??


in reply to Re: need help to create array dynamically
in thread need help to create array dynamically

sorry for confusion.

[ abababa bcbcbcb ]

Data is in this format. It is not in a line. But each start with "[" and end with "]". the array in which i shall put all these 4 lines would not be a one element array then. I shall put this 4 lines in one array , another 4 lines in another array... like this fashion, i need to reads whole file.


Comment on Re^2: need help to create array dynamically
Download Code
Re^3: need help to create array dynamically
by Kenosis (Priest) on Jan 23, 2013 at 19:36 UTC

    Thank you for the clarification.

    Why a separate array for each 'chunk?' How will you manage these? What's the end result? Are there blank lines between these chunks? Also, how large is this file?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2014-12-25 06:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls