Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Out of memory problem when copying contents of file into array

by husker (Chaplain)
on Feb 18, 2005 at 15:36 UTC ( [id://432362]=note: print w/replies, xml ) Need Help??


in reply to Out of memory problem when copying contents of file into array

You don't have to read the whole file in, just to throw away everything except that last 100 lines. Instead:

How to read a file in backwards?

  • Comment on Re: Out of memory problem when copying contents of file into array

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2025-06-15 21:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.