Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^5: Read Some lines in Tera byte file

by ikegami (Patriarch)
on Oct 13, 2010 at 08:07 UTC ( [id://865038]=note: print w/replies, xml ) Need Help??


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

Perl has seek as a builtin. It's not gonna help solve the question you asked us, though.
  • Comment on Re^5: Read Some lines in Tera byte file

Replies are listed 'Best First'.
Re^6: Read Some lines in Tera byte file
by BrowserUk (Patriarch) on Oct 13, 2010 at 08:18 UTC

    It might if he's forgotten to mention that his records are fixed length.

      I suppose his lines could all be the same length, or he might have been using the term "line" loosely.

      bhaskar, are your lines/records all the same length? If so, your could calculate the position to which to seek using a simple multiplication.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-19 20:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found