Tie::Gzip is a Perl module that can read and write gzip compressed files.
SYNOPSIS
require Tie::Gzip;
tie filehandle, 'Tie::Gzip'
tie filehandle, 'Tie::Gzip', mode, filename
tie filehandle, 'Tie::Gzip', filename
tie filehandle, 'Tie::Gzip', %options
tie filehandle, 'Tie::Gzip', mode, filename, %options
tie filehandle, 'Tie::Gzip', filename, %options
tie filehandle, 'Tie::Gzip', @options
tie filehandle, 'Tie::Gzip', mode, filename, @options
tie filehandle, 'Tie::Gzip', filename, @options
The 'Tie::Gzip' module provides a file handle Tie for compressing and uncompressing files using the gzip compression format.
By tieing a filehandle to 'Tie::Gzip' subsequent uses of the file subroutines with the tied filehandle will compress data written to an opened file using gzip compression and decompress data read from an opened file using gzip compression.
If the 'Tie::Gzip' tie receives a filename or mode filename after completing the tie, 'Tie::Gzip' will open filename.
During the tie, Tie::Gzip will first try to load the 'Compress::Zlib' module and package. If successful, 'Tie::Gzip' uses the 'Compress::Zlib' for compressing and decompressing the file data.
Product's homepage
Requirements:
· Perl