Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Adaptive parser for tab delimited text file

by BrowserUk (Pope)
on Nov 01, 2012 at 08:25 UTC ( #1001779=note: print w/ replies, xml ) Need Help??


in reply to Adaptive parser for tab delimited text file

Is this the same problem?


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

RIP Neil Armstrong


Comment on Re: Adaptive parser for tab delimited text file
Re^2: Adaptive parser for tab delimited text file
by reaper9187 (Scribe) on Nov 01, 2012 at 10:37 UTC
    No.. Its different.. The earlier issues was resolved and it works fine now. My current problem is tht i need to read a particular section of text from the entire file and then iteratively perform more checks to determine the size of the block and start and end limters to find out the size of block i need to be working on (this size is variable and it changes as and when the user makes changes).
    To make it more understandable, the execution of code follows these steps: 1. identify the keyword "CELL" to determine the start of the particular block
    2. match the cell name(next line of CELL,eg LUC123A in this case)
    3. Identify the block size (in terms of number of lines ) between the two limiters ,i.e first and second occurence of the word "CELL"

    I keep getting confused for some reason. i'd really like some insight .. Sorry for the trouble

      Are you searching the file for just this block(s)? Or do you 'encounter' this block as your process the other parts of the file?

      Are the last two lines of your (extremely minimalist) sample indication that another matching Section follows?

      Oooh. The sample data just changed out of all recognition.............Oh well. Ignore my questions, they are no longer meaningful.

      Best of luck.


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.

      RIP Neil Armstrong

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1001779]
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: (11)
As of 2014-10-20 09:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (74 votes), past polls