IO::Uncompress::AnyInflate(3p) Perl Programmers Reference Guide
IO::Uncompress::AnyInflate(3p) Perl Programmers Reference Guide # IO::Uncompress::AnyInflate(3p) Perl Programmers Reference Guide NNAAMMEE # IO::Uncompress::AnyInflate - Uncompress zlib-based (zip, gzip) file/buffer SSYYNNOOPPSSIISS # use IO::Uncompress::AnyInflate qw(anyinflate $AnyInflateError) ; my $status = anyinflate $input => $output [,OPTS] or die "anyinflate failed: $AnyInflateError\n"; my $z = IO::Uncompress::AnyInflate->new( $input [OPTS] ) or die "anyinflate failed: $AnyInflateError\n"; $status = $z->read($buffer) $status = $z->read($buffer, $length) $status = $z->read($buffer, $length, $offset) $line = $z->getline() $char = $z->getc() $char = $z->ungetc() $char = $z->opened() $status = $z->inflateSync() $data = $z->trailingData() $status = $z->nextStream() $data = $z->getHeaderInfo() $z->tell() $z->seek($position, $whence) $z->binmode() $z->fileno() $z->eof() $z->close() $AnyInflateError ; # IO::File mode <$z> read($z, $buffer); read($z, $buffer, $length); read($z, $buffer, $length, $offset); tell($z) seek($z, $position, $whence) binmode($z) fileno($z) eof($z) close($z) DDEESSCCRRIIPPTTIIOONN # This module provides a Perl interface that allows the reading of files/buffers that have been compressed in a number of formats that use the zlib compression library. ...