++ed by:
KES HAMMER ILUX VEESH SKOLYCHEV

13 PAUSE users
5 non-PAUSE users.

Yuki Kimoto

NAME

SPVM::Int - Int object

SYNOPSYS

  use SPVM::Int;

  my $int_object = SPVM::Int->new(5);
  my $int_value = $int_object->val;

DESCRIPTION

SPVM::Int object stores a int value.

This object is immutable.

CLASS METHODS

new

  sub new : SPVM::Int ($value : int)

Create a new SPVM::Int object with specific int value.

INSTANCE METHODS

val

  sub val : int ($self : self)

Get a int value.