The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Name

SPVM::Short - Short Class

Usage

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

Description

Short is the class to hold a value of the short type.

This class is automatically loaded.

Fields

value

  has value : rw short;

The value.

Class Methods

new

  static method new : Short ($value : int);

Creates a new Short object with a short $value.