NAME

SPVM::Short - Short object

SYNOPSYS

use Short;

my $short_object = Short->new(5);
my $short_value = $short_object->value;

DESCRIPTION

Short object stores a short value.

This object is immutable and its value cannot be changed.

Short is automatically loaded just after the program starts.

CLASS METHODS

new

static method new : Short ($value : short)

Create a new Short object with a short value.

INSTANCE METHODS

value

method value : short ()

Get a short value.