in reply to gzip / gunzip

see also the source to Tie::Gzip which demonstrates (un)gzip using Compress::Zlib if installed.