Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

by vitoco (Pilgrim)
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 chanting in the Monastery: (7)
As of 2014-07-30 11:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (230 votes), past polls