logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

XMLTV::Gunzip - Wrapper to Compress::Zlib or gzip(1)

Author

       Ed Avis, ed@membled.com.  Distributed as part of the xmltv package.

Name

           XMLTV::Gunzip - Wrapper to Compress::Zlib or gzip(1)

See Also

       Compress::Zlib, gzip(1), XMLTV.

perl v5.40.1                                       2025-04-19                                        Gunzip(3pm)

Synopsis

           use XMLTV::Gunzip;
           my $decompressed = gunzip($gzdata);
           my $fh = gunzip_open('file.gz') or die;
           while (<$fh>) { print }

       Compress::Zlib will be used if installed, otherwise an external gzip will be spawned.  gunzip() returns
       the decompressed data and throws an exception if things go wrong; gunzip_open() returns a filehandle, or
       undef.

See Also