Io-Uncompress-Anyuncompress

IO::Uncompress::AnyUncompress(3p) Perl Programmers Reference Guide

Io-Uncompress-Anyuncompress

IO::Uncompress::AnyUncompress(3p) Perl Programmers Reference Guide # IO::Uncompress::AnyUncompress(3p) Perl Programmers Reference Guide NNAAMMEE # IO::Uncompress::AnyUncompress - Uncompress gzip, zip, bzip2, zstd, xz, lzma, lzip, lzf or lzop file/buffer SSYYNNOOPPSSIISS # use IO::Uncompress::AnyUncompress qw(anyuncompress $AnyUncompressError) ; my $status = anyuncompress $input => $output [,OPTS] or die "anyuncompress failed: $AnyUncompressError\n"; my $z = IO::Uncompress::AnyUncompress->new( $input [OPTS] ) or die "anyuncompress failed: $AnyUncompressError\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() $data = $z->trailingData() $status = $z->nextStream() $data = $z->getHeaderInfo() $z->tell() $z->seek($position, $whence) $z->binmode() $z->fileno() $z->eof() $z->close() $AnyUncompressError ; # 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 with a variety of compression libraries. ...