++ed by:
HAMMER VEESH SKOLYCHEV MHOWARD POTATOGIM

14 PAUSE users
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->val;

DESCRIPTION

SPVM::Short object stores a short value.

This object is immutable.

CLASS METHODS

new

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

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

INSTANCE METHODS

val

  sub val : short ($self : self)

Get a short value.