The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

SPVM::Long - Long object

SYNOPSYS

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

DESCRIPTION

SPVM::Long object stores a long value.

This object is immutable and its value cannot be changed.

SPVM::Long is automatically loaded just after the program starts.

STATIC METHODS

new

  sub new : SPVM::Long ($value : long)

Create a new SPVM::Long object with a long value.

INSTANCE METHODS

value

  sub value : long ($self : self)

Get a long value.