Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: How do you compile PerlIO::gzip for AS Perl 5.10?

by ambrus (Abbot)
on Sep 25, 2010 at 13:51 UTC ( [id://861958]=note: print w/replies, xml ) Need Help??


in reply to How do you compile PerlIO::gzip for AS Perl 5.10?

If you don't insist on the PerlIO::gzip module, you could try installing a standalone gzip program and then open $F, "-|", "gzip", "-dc", "--", $filename. This has the advantage that the decompression runs in a separate process so it can run in parallel with your program if you have multiple cpu cores – that's of course relevant only with large files (and slower compressions like eg. bzip2).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2025-04-28 21:51 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.