++ed by:
FAYLAND ILUX XYF DMOL BRDUCH
7 non-PAUSE users
Author image Yuki Kimoto

NAME

SPVM::Short - Short object

SYNOPSYS

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

DESCRIPTION

SPVM::Short object stores a short value.

This object is immutable and its value cannot be changed.

SPVM::Short is automatically loaded just after the program starts.

STATIC METHODS

new

  sub new : SPVM::Short ($value : short)

Create a new SPVM::Short object with a short value.

INSTANCE METHODS

value

  sub value : short ($self : self)

Get a short value.