SPVM::Int - Int Class
my $int_object = Int->new(5); my $int_value = $int_object->value; $int_object->set_value(10);
Int is the class to hold a value of the int type.
Int
int
This class is automatically loaded.
has value : rw int;
The value.
static method new : Int ($value : int);
Creates a new Int object with 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.