The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

SPVM::Long - Long in SPVM | 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.