![]() |
|
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?? |
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).
In Section
Seekers of Perl Wisdom
|
|