Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Reading lines from a specific location in a text file.

by vitoco (Friar)
on Sep 28, 2009 at 14:49 UTC ( #797929=note: print w/ replies, xml ) Need Help??


in reply to Reading lines from a specific location in a text file.

Unless you know the exact position of the begin of your wanted data before you open the text file, you must read all the lines of your file, and ignore those from the first to the line you recognize as the end of the heading.

I hope that your header is much less than your data... ;-)


Comment on Re: Reading lines from a specific location in a text file.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2015-07-03 18:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (55 votes), past polls