in reply to Compress zlib and friends

I'm not really sure, but the overall impression is that Compress::Zlib is a relatively low level interface to (all the bells and whistles of) zlib, whereas you may want a higher level interface, e.g. Archive::Zip.