IO::File::CompressOnClose::Gzip - Gzip compression for IO::File::CompressOnClose
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
IO::File::CompressOnClose::Gzip is a subclass of IO::File::CompressOnClose that compresses a file using IO::Zlib when it is closed.
IO::File::CompressOnClose
James FitzGibbon <jfitz@CPAN.org>
Copyright (c) 2003, James FitzGibbon. All Rights Reserved.
This module is free software. You may use it under the same terms as perl itself.
To install IO::File::CompressOnClose, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IO::File::CompressOnClose
CPAN shell
perl -MCPAN -e shell install IO::File::CompressOnClose
For more information on module installation, please visit the detailed CPAN module installation guide.