in reply to Re: Using compress::zlib output as a filehandle
in thread Using compress::zlib output as a filehandle

You need to read the documentation more carefully. The function gzopen takes two arguments.

Updated: See the zlib manual for details of mode. For reading you want "rb".

  • Comment on Re: Re: Using compress::zlib output as a filehandle