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).
|
|---|