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 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.