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