Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 voices are still...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (1)
As of 2018-07-22 03:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (451 votes). Check out past polls.

    Notices?