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