Richard Lee wrote:
Mr. Shawn H. Corey wrote:

Sadly, even ReadBackwards in no magic bullet.  (And BTW, it should be
ReadBackward.)

It still has to go through the entire file and mark the offsets to the
start of every line.

The best way to do this is just to bite the bullet and do it.

There is no way to read say last 10 MB of the file or something? It's very surprising why no such thing exists..

Sure, just seek() to the last 10 MB position and start reading from there.


John
--
Perl isn't a toolbox, but a small machine shop where you
can special-order certain sorts of tools at low cost and
in short order.                            -- Larry Wall

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to