MOSES::MOBY::Data::Boolean - A primite Moby data type for booleans
use MOSES::MOBY::Data::Boolean; # create a Moby Boolean with initial value of true my $data = MOSES::MOBY::Data::Boolean->new ( value=>'true' ); my $data = MOSES::MOBY::Data::Boolean->new ('true'); # change the value to false $data->value ('false'); # get the value print $data->value; # create a Moby Integer with initial value of -15 my $data = MOSES::MOBY::Data::Integer->new (value => -15);
An object representing a Boolan, a Moby primitive data type.
Edward Kawas (edward.kawas [at] gmail [dot] com) Martin Senger (martin.senger [at] gmail [dot] com)
Details are in MOSES::MOBY::Base. Here just a list of them (additionally to the attributes from the parent classes)
A value of this datatype. Must be a boolean.
To install MOSES::MOBY, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MOSES::MOBY
CPAN shell
perl -MCPAN -e shell install MOSES::MOBY
For more information on module installation, please visit the detailed CPAN module installation guide.