|
IO::Filter::gzip - GZip compression filter |
IO::Filter::gzip - GZip compression filter
use IO::Filter::gzip;
$io = ...; # any IO handle $fio = new IO::Filter::gzip ($io, "r"); # then you can read gzip-compressed bytes from $fio
$io = ...; # any IO handle $fio = new IO::Filter::gzip ($io, "w"); # write bytes to $fio, they are written gzipped to $io
This should use Compress::Zlib instead of an external program.
Richard Jones (rich@annexia.org)
Copyright (C) 2001 Richard Jones (rich@annexia.org)
the IO::Filter(3) manpage, perl(1).
|
IO::Filter::gzip - GZip compression filter |