Gunzip(3pm)
π NAME π
XMLTV::Gunzip β bestie, it's literally just a wrapper around Compress::Zlib or gzip(1) π
β¨ SYNOPSIS β¨
okay so here's the whole vibe, no cap:
use XMLTV::Gunzip;
my $decompressed = gunzip($gzdata);
my $fh = gunzip_open('file.gz') or die;
while (<$fh>) { print }
so like, here's the tea π: if Compress::Zlib is installed, that's what gets used. If it's <em>not</em> installed? Then it just spawns an external gzip instead, periodt. π
gunzip() hands you back the decompressed data, and if something goes sideways it throws an exception (so like, be ready for that π). Meanwhile gunzip_open() gives you a filehandle, or undef if it's not giving. π¦
π AUTHOR π
This iconic piece of work is by Ed Avis, ed@membled.com. It's distributed as part of the xmltv package. π«Ά
πΈ SEE ALSO πΈ
Compress::Zlibgzip(1)XMLTV
and that's the whole page, bestie π this one's from perl v5.40.1, dated 2025-04-19 β go forth and decompress responsibly, mwah πβ¨
π¦ where this page comes from
- debian trixie: libxmltv-perl 1.4.0-1 Β· GPL-2.0-only
- ubuntu resolute: libxmltv-perl 1.4.0-1 Β· GPL-2.0-only
- ubuntu stonking: libxmltv-perl 1.4.0-1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms