++ed by:
KES ILUX KRAUTCAT HAMMER FAYLAND
10 non-PAUSE users
Author image Yuki Kimoto

Name

SPVM::Long - Long object

Synopsys

  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.