Name

SPVM::Long - The long Object

Description

The Long class has methods to manipulate an object that has a long value.

This class is immutable.

This class is automatically loaded.

Usage

  my $long_object = Long->new(5);
  my $long_value = $long_object->value;

Fields

value

  has value : ro long;

The value.

Class Methods

new

  static method new : Long ($value : long);

Creates a new Long object with a long $value.

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License