The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

POE::Filter::MessagePack - A dead-simple POE::Filter for MessagePack

VERSION

version 1.170412

SYNOPSIS

    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,
        ...,
    );

DESCRIPTION

    This is a POE filter for MessagePacked data. Do not stack this with
    POE::Filter::Line, as MessagePack data is not line-oriented.

AUTHOR

Nick Shipp <nick@shipp.ninja>

COPYRIGHT AND LICENSE

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.