POE::Filter::ZlibA POE filter wrapped around Compress::Zlib | |
Download |
POE::Filter::Zlib Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Publisher Name:
- Chris Williams
- Publisher web site:
- http://search.cpan.org/~bingos/
POE::Filter::Zlib Tags
POE::Filter::Zlib Description
A POE filter wrapped around Compress::Zlib POE::Filter::Zlib is a Perl module that 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.SYNOPSIS use POE::Filter::Zlib; my $filter = POE::Filter::Zlib->new(); my $scalar = 'Blah Blah Blah'; my $compressed_array = $filter->put( ); 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" ), Requirements: · Perl
POE::Filter::Zlib Related Software