Data::Object::Boolean

Data-Object Boolean Class

use Data::Object::Boolean;

my $bool;

$bool = Data::Object::Boolean->new; # false
$bool = Data::Object::Boolean->new(1); # true
$bool = Data::Object::Boolean->new(0); # false
$bool = Data::Object::Boolean->new(''); # false
$bool = Data::Object::Boolean->new(undef); # false

This package provides functions and representation for boolean values.

4 POD Errors

The following errors were encountered while parsing the POD:

Around line 8:

Unknown directive: =name

Around line 12:

Unknown directive: =abstract

Around line 16:

Unknown directive: =synopsis

Around line 28:

Unknown directive: =description