Gunzip(3pm)

πŸ“¦
version 1.4.0 Β· 4 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸŽ€ 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 🌸


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