Boolean::Converter - boolean object converter
use Boolean::Converter; my $converter = Boolean::Converter->new(); my $booelan = $converter->convert_to(JSON::PP::true, 'Data::MessagePack'); # => Data::MessagePack::true
Boolean::Converter is the super great boolean converter for you.
Create a new Boolean::Converter object.
Evaluates methods map for boolean objects. In default, this module evaluates the object in boolean context.
Converts methods map to boolean object from a scalar value.
Checks to evaluate the $boolean_object as a boolean object.
$boolean_object
Evaluates the $boolean_object as a boolean object.
Checks to convert to the $to_boolean_object from a boolean.
$to_boolean_object
Converts to the $to_boolean_object from $from_boolean_object.
$from_boolean_object
Copyright (C) karupanerura.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
karupanerura <karupa@cpan.org>
To install Boolean::Converter, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Boolean::Converter
CPAN shell
perl -MCPAN -e shell install Boolean::Converter
For more information on module installation, please visit the detailed CPAN module installation guide.