|
NAMEPOE::Filter::Zlib - A POE filter wrapped around Compress::Zlib VERSIONversion 2.04 SYNOPSIS use POE::Filter::Zlib;
my $filter = POE::Filter::Zlib->new();
my $scalar = 'Blah Blah Blah';
my $compressed_array = $filter->put( [ $scalar ] );
my $uncompressed_array = $filter->get( $compressed_array );
use POE qw(Filter::Stackable Filter::Line Filter::Zlib);
my ($filter) = POE::Filter::Stackable->new();
$filter->push( POE::Filter::Zlib->new(),
POE::Filter::Line->new( InputRegexp => '\015?\012', OutputLiteral => "\015\012" ),
DESCRIPTIONPOE::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
METHODS
SEE ALSOPOE POE::Filter POE::Filter::Zlib::Stream Compress::Zlib POE::Filter::Stackable AUTHORS
COPYRIGHT AND LICENSEThis software is copyright (c) 2017 by Chris Williams and Martijn van Beers. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
|