Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: File read stopping prematurely

by TJPride (Pilgrim)
on Aug 28, 2013 at 04:26 UTC ( [id://1051233]=note: print w/replies, xml ) Need Help??


in reply to File read stopping prematurely

Is there some particular advantage to using a Perl library, as opposed to a command-line utility that is working for you? I would personally just use gunzip, read the file line by line if you don't want the whole thing in memory, then unlink it or gzip it again.

Replies are listed 'Best First'.
Re^2: File read stopping prematurely
by Ineffectual (Scribe) on Aug 30, 2013 at 00:51 UTC
    This is a simplified version for troubleshooting of utility code that I use to open many different types of files. The utility code includes recognizing various file types and accessing files on local and remote servers. :)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2026-04-14 12:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.