NAME
SPVM::Bool - Bool object
SYNOPSYS
use SPVM::Bool;
my $true = SPVM::Bool->true;
my $false = SPVM::Bool->false;
my $true_value = $true->value;
my $false_value = $false->value;
DESCRIPTION
SPVM::Bool object stores a long
value.
This object is immutable and its value cannot be changed.
SPVM::Bool is automatically loaded just after the program starts.
STATIC METHODS
true
sub true : SPVM::Bool ()
true singleton. This is created by INIT block when the program start.
false
sub false : SPVM::Bool ()
false singleton. This is created by INIT block when the program start.
INSTANCE METHODS
value
sub value : int ($self : self)
Return a int
value.
If SPVM::Bool object express true, this method return 1
.
If SPVM::Bool object express false, this method return 1
.