SPVM::Int(3)

NAME
SPVM::Int - Int in SPVM | Int object

SYNOPSYS
  use Int;

  my $int_object = Int->new(5);
  my $int_value = $int_object->value;

DESCRIPTION
Int object stores a "int" value.

This object is immutable and its value cannot be changed.

Int is automatically loaded just after the program starts.

CLASS METHODS

  new
  static method new : Int ($value : int)

Create a new Int object with a "int" value.

INSTANCE METHODS

  value
  method value : int ()

Get a "int" value.