SPVM::JSON::Bool - JSON Bool
my $json_true = SPVM::JSON::Bool->TRUE; my $json_false = SPVM::JSON::Bool->FALSE; my $bool_value = $bool_object_true->val;
sub TRUE : SPVM::JSON::Bool ()
Get SPVM::JSON::Bool object with true value.
sub FALSE : SPVM::JSON::Bool ()
Get SPVM::JSON::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.