SPVM::Bool - Bool Utility
my $bool_object_true = SPVM::Bool->new_true; my $bool_object_false = SPVM::Bool->new_false; my $bool_value = $bool_object_true->val;
sub new_true : SPVM::Bool ()
Create SPVM::Bool object with true value.
sub new_false : SPVM::Bool ()
Create SPVM::Bool object with false value.
sub val : int ($self : self)
If Bool object has true value, return 1, else return 0.
To install SPVM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SPVM
CPAN shell
perl -MCPAN -e shell install SPVM
For more information on module installation, please visit the detailed CPAN module installation guide.