IO::Compress::Gzip(3p) Perl Programmers Reference Guide
IO::Compress::Gzip(3p) Perl Programmers Reference Guide # IO::Compress::Gzip(3p) Perl Programmers Reference Guide NNAAMMEE # IO::Compress::Gzip - Write RFC 1952 files/buffers SSYYNNOOPPSSIISS # use IO::Compress::Gzip qw(gzip $GzipError) ; my $status = gzip $input => $output [,OPTS] or die "gzip failed: $GzipError\n"; my $z = IO::Compress::Gzip->new( $output [,OPTS] ) or die "gzip failed: $GzipError\n"; $z->print($string); $z->printf($format, $string); $z->write($string); $z->syswrite($string [, $length, $offset]); $z->flush(); $z->tell(); $z->eof(); $z->seek($position, $whence); $z->binmode(); $z->fileno(); $z->opened(); $z->autoflush(); $z->input_line_number(); $z->newStream( [OPTS] ); $z->deflateParams(); $z->close() ; $GzipError ; # IO::File mode print $z $string; printf $z $format, $string; tell $z eof $z seek $z, $position, $whence binmode $z fileno $z close $z ; DDEESSCCRRIIPPTTIIOONN # This module provides a Perl interface that allows writing compressed data to files or buffer as defined in RFC 1952. ...