Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Beginners > Re: opening a b...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 10967 of 11065
Post > Topic >>

Re: opening a big file

by shawnhcorey@[EMAIL PROTECTED] (Mr. Shawn H. Corey) Apr 20, 2008 at 06:57 PM

On Sun, 2008-04-20 at 18:10 -0400, Richard Lee wrote:
> There is no way to read say last 10 MB of the file or something? It's 
> very surprising why no such thing exists..
> 

No, it's not.

It is a text file, not a fixed-sized record fix.  There is no way to
compute where the lines of text start.

And with today's computers, 10 MB of text is trivial.


-- 
Just my 0.00000002 million dollars worth,
    Shawn

When I was in college, my Karate instructor said,
"The first hundred are easy."
Since then, I discovered he'd lied.
Life's too big to describe in hundreds.




 1 Posts in Topic:
Re: opening a big file
shawnhcorey@[EMAIL PROTEC  2008-04-20 18:57:34 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed May 14 23:27:41 CDT 2008.