in reply to Re: Reading .gz files.
in thread Reading .gz files.

Perfecto...

I neglected to say that modules like Compress::Zlib are low-level functionality, upon which other, higher-level CPAN modules have been constructed.   Search for the CPAN module which most closely matches what you are trying to achieve, and let them use the lower level routines on your behalf.