The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

DR::Msgpuck::Bool - container for bool.

SYNOPSIS

    use DR::Msgpuck::Bool;
    use DR::Msgpuck;

    my $blobtrue1 = msgpack(DR::Msgpuck::Bool->new(1));
    my $blobtrue2 = msgpack(DR::Msgpuck::Bool::True->new);

    
    my $blobfalse1 = msgpack(DR::Msgpuck::Bool->new(0));
    my $blobfalse2 = msgpack(DR::Msgpuck::Bool::False->new);

DESCRIPTION

msgunpack uses the class while unpacks booleans. You can use the class to force pack value as boolean.

AUTHOR

Dmitry E. Oboukhov, <unera@debian.org>

COPYRIGHT AND LICENSE

Copyright (C) 2016 by Dmitry E. Oboukhov

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.