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

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);

Creates a new Int object with a int $value.