ANNOUNCE   [plain text]


                          Compress::Zlib - 1.00

Announcing release 1.00 of Compress::Zlib (formerly known as Zip
in the module list).

What is Compress::Zlib?
=======================

Compress::Zlib is a Perl external module which provides an interface to
the info-zip zlib compression library. zlib is a general purpose
compression library.

Some of the features provided by Compress::Zlib include:

   * in-memory compression and decompression
   * read and write gzip (.gz) files directly.

By way of an example here is a small script which reads gzipped files
and writes the unzipped output to standard output.


    use Compress::Zlib ;

    die "Usage: gzcat file...\n"
        unless @ARGV ;
    
    foreach $file (@ARGV) {
        $gz = gzopen($file, "rb") 
             or die "Cannot open $file: $gzerrno\n" ;
    
        print $buffer while $gz->gzread($buffer) > 0 ;
    
        die "Error reading from $file: $gzerrno\n" if $gzerrno ;
        
        $gz->gzclose() ;
    }
    

Availability
============

The latest copy of Compress::ZLib is available on CPAN

    http://www.cpan.org/modules/by-module/Archive/Archive-Zip-*.tar.gz

and zlib is available at

    http://www.gzip.org/zlib/


Paul Marquess