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