Io-Compress-Bzip2

IO::Compress::Bzip2(3p) Perl Programmers Reference Guide

Io-Compress-Bzip2

IO::Compress::Bzip2(3p) Perl Programmers Reference Guide # IO::Compress::Bzip2(3p) Perl Programmers Reference Guide NNAAMMEE # IO::Compress::Bzip2 - Write bzip2 files/buffers SSYYNNOOPPSSIISS # use IO::Compress::Bzip2 qw(bzip2 $Bzip2Error) ; my $status = bzip2 $input => $output [,OPTS] or die "bzip2 failed: $Bzip2Error\n"; my $z = IO::Compress::Bzip2->new( $output [,OPTS] ) or die "bzip2 failed: $Bzip2Error\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->close() ; $Bzip2Error ; # 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 bzip2 compressed data to files or buffer. ...