Name

SPVM::Int - Int Class

Usage

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

Description

Int is the class to hold a value of the int type.

This class is automatically loaded.

Fields

value

has value : rw int;

The value.

Class Methods

new

static method new : Int ($value : int)

Create a new Int object with a int value.