The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

SPVM::Short - Short object

SYNOPSYS

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

DESCRIPTION

Short object.

CONSTRUCTOR

new

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

Create SPVM::Short object with specified short value.

METHODS

val

  sub val : short ($self : self)

Get short value.