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

NAME

Class::Value::Boolean - A boolean value object

VERSION

version 1.100840

SYNOPSIS

    my $v = Class::Value::Boolean->new('Y');

DESCRIPTION

This is an enumerator value object that only accepts the value 0 and 1.

METHODS

as_plaintext

Returns the value.

get_valid_values_list

Returns the list of valid values: 0 and 1.

get_value_normalization_hashref

Returns a hash reference that shows how to normalize values. Any of the characters [JjYy] will be normalized to 1, any of the characters [Nn] will be normalized to 0.

INSTALLATION

See perlmodinstall for information and options on installing Perl modules.

BUGS AND LIMITATIONS

No bugs have been reported.

Please report any bugs or feature requests through the web interface at http://rt.cpan.org/Public/Dist/Display.html?Name=Class-Value.

AVAILABILITY

The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit http://www.perl.com/CPAN/ to find a CPAN site near you, or see http://search.cpan.org/dist/Class-Value/.

The development version lives at http://github.com/hanekomu/Class-Value/. Instead of sending patches, please fork this project using the standard git and github infrastructure.

AUTHOR

  Marcel Gruenauer <marcel@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2004 by Marcel Gruenauer.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.