Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^4: Read Some lines in Tera byte file

by Anonymous Monk
on Oct 13, 2010 at 07:05 UTC ( #865025=note: print w/replies, xml ) Need Help??


in reply to Re^3: Read Some lines in Tera byte file
in thread Read Some lines in Tera byte file

because i said file is in tera bytes, so if my file reading position is nth (ex : 99999999) then it will be difficult to parse all lines and consuming time also.

do we have function in perl like seek?

  • Comment on Re^4: Read Some lines in Tera byte file

Replies are listed 'Best First'.
Re^5: Read Some lines in Tera byte file
by Corion (Pope) on Oct 13, 2010 at 07:08 UTC

    Yes. See perlfunc. Also, Google is helpful. If the file is on a remote server, then seek will only work if you can mount the remote filesystem locally.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://865025]
help
Chatterbox?
and a log crumbles through the grate...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (13)
As of 2016-12-06 15:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (109 votes). Check out past polls.