NAME

IO::File::CompressOnClose::Gzip - Gzip compression for IO::File::CompressOnClose

SYNOPSIS

use IO::File::AutoCompress::Gzip;
my $file = IO::File::CompressOnClose::Gzip->new('>foo');
print $file "foo bar baz\n";
$file->close;  # file will be compressed to foo.gz

DESCRIPTION

IO::File::CompressOnClose::Gzip is a subclass of IO::File::CompressOnClose that compresses a file using IO::Zlib when it is closed.

SEE ALSO

IO::File::CompressOnClose

AUTHOR

James FitzGibbon <jfitz@CPAN.org>

COPYRIGHT

Copyright (c) 2003, James FitzGibbon. All Rights Reserved.

This module is free software. You may use it under the same terms as perl itself.