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 lurking in the Monastery: (7)
As of 2014-08-23 06:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (172 votes), past polls