SPVM::Int - Int object
use SPVM::Int; my $int_object = SPVM::Int->new(5); my $int_value = $int_object->val;
SPVM::Int object stores a int value.
int
This object is immutable.
sub new : SPVM::Int ($value : int)
Create a new SPVM::Int object with specific int value.
sub val : 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.