Name

SPVM::Short - The short Class

Description

The Short class has methods to manipulate an object that has a short value.

This class is immutable.

This class is automatically loaded.

Usage

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

Fields

value

has value : ro short;

The value.

Class Methods

new

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

Creates a new Short object with a short $value.

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License