Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

RE: Re: Is there a way to read a file backwards?

by lhoward (Vicar)
on Jul 31, 2000 at 16:16 UTC ( #25240=note: print w/replies, xml ) Need Help??


in reply to Re: Is there a way to read a file backwards?
in thread Is there a way to read a file backwards?

Seek's 3rd argument indicates what kind of seek to do. 0 means from the front of the file, 1 means relative to the current position and 2 means from the end of the file. By using the "seek from EOF" option you can use the above algorithm without having to compute the filesize first.
  • Comment on RE: Re: Is there a way to read a file backwards?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2018-11-18 23:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My code is most likely broken because:
















    Results (206 votes). Check out past polls.

    Notices?