SPVM::Int - Int object
my $int_object = SPVM::Int->new(5); my $int_value = $int_object->val;
Int object.
sub new : SPVM::Int ($value : int)
Create SPVM::Int object with specified int value.
int
sub val : int ($self : self)
Get 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.