POE-Filter-Zlib
view release on metacpan or search on metacpan
my ($filter) = POE::Filter::Stackable->new();
$filter->push( POE::Filter::Zlib->new(),
POE::Filter::Line->new( InputRegexp => '\015?\012', OutputLiteral => "\015\012" ),
DESCRIPTION
POE::Filter::Zlib provides a POE filter for performing
compression/uncompression using Compress::Zlib. It is suitable for use
with POE::Filter::Stackable.
This filter is not ideal for streaming compressed data over sockets
etc. as it employs compress and uncompress zlib functions.
POE::Filter::Zlib::Stream is recommended for that type of activity.
CONSTRUCTOR
new
Creates a new POE::Filter::Zlib object. Takes one optional argument,
lib/POE/Filter/Zlib.pm view on Meta::CPAN
my ($filter) = POE::Filter::Stackable->new();
$filter->push( POE::Filter::Zlib->new(),
POE::Filter::Line->new( InputRegexp => '\015?\012', OutputLiteral => "\015\012" ),
=head1 DESCRIPTION
POE::Filter::Zlib provides a POE filter for performing compression/uncompression using L<Compress::Zlib>. It is
suitable for use with L<POE::Filter::Stackable>.
This filter is not ideal for streaming compressed data over sockets etc. as it employs compress and uncompress zlib functions.
L<POE::Filter::Zlib::Stream> is recommended for that type of activity.
=head1 CONSTRUCTOR
=over
=item C<new>
Creates a new POE::Filter::Zlib object. Takes one optional argument,
lib/POE/Filter/Zlib/Stream.pm view on Meta::CPAN
$filter->push( POE::Filter::Zlib::Stream->new(),
POE::Filter::Line->new( InputRegexp => '\015?\012', OutputLiteral => "\015\012" ),
=head1 DESCRIPTION
POE::Filter::Zlib::Stream provides a POE filter for performing compression/uncompression using L<Compress::Zlib>. It is
suitable for use with L<POE::Filter::Stackable>.
Unlike L<POE::Filter::Zlib> this filter uses deflate and inflate, not the higher level compress and uncompress.
Ideal for streaming compressed data over sockets.
=head1 NAME
POE::Filter::Zlib::Stream - A POE filter wrapped around Compress::Zlib deflate and inflate.
=head1 CONSTRUCTOR
=over
=item C<new>
( run in 3.687 seconds using v1.01-cache-2.11-cpan-140bd7fdf52 )