Name

SPVM::Long - Long object

Usage

use Long;

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

Description

Long object stores a long value.

This object is immutable and its value cannot be changed.

Long is automatically loaded just after the program starts.

Class Methods

new

static method new : Long ($value : long)

Create a new Long object with a long value.

Instance Methods

value

method value : long ()

Get a long value.