SPVM::Int - Int in SPVM | Int object
use Int; my $int_object = Int->new(5); my $int_value = $int_object->value;
Int object stores a int value.
int
This object is immutable and its value cannot be changed.
Int is automatically loaded just after the program starts.
static method new : Int ($value : int)
Create a new Int object with a int value.
method value : int ()
Get a int value.
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.