Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 pondering the Monastery: (5)
As of 2014-10-26 06:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (152 votes), past polls