POE::Filter::MessagePack - A dead-simple POE::Filter for MessagePack
version 1.170412
use POE::Filter::MessagePack; # Standalone example my $filter = POE::Filter::MessagePack->new; my $obj = { a => 1, b => 2 }; my $packed = $filter->put([ $obj ]) my $obj_array = $filter->get($packed); # Or with POE my $wheel = POE::Wheel::ReadWrite->new( Filter => POE::Filter::MessagePack->new, ..., );
This is a POE filter for MessagePacked data. Do not stack this with POE::Filter::Line, as MessagePack data is not line-oriented.
Nick Shipp <nick@shipp.ninja>
This software is copyright (c) 2017 by Nick Shipp.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install POE::Filter::MessagePack, copy and paste the appropriate command in to your terminal.
cpanm
cpanm POE::Filter::MessagePack
CPAN shell
perl -MCPAN -e shell install POE::Filter::MessagePack
For more information on module installation, please visit the detailed CPAN module installation guide.