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

NAME  SYNOPSIS  AUTHOR  SEE ALSO 

NAME

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

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.

AUTHOR

Ed Avis, [email protected]. Distributed as part of the xmltv package.

SEE ALSO

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


Updated 2024-01-29 - jenkler.se | uex.se