Dave Cross: Still Munging Data With Perl: Online event - Mar 17 Learn more

package SPVM::Int;
1;
=head1 Name
SPVM::Int - Int object
=head1 Usage
use Int;
my $int_object = Int->new(5);
my $int_value = $int_object->value;
=head1 Description
L<Int|SPVM::Int> object stores a C<int> value.
This object is immutable and its value cannot be changed.
L<Int|SPVM::Int> is automatically loaded just after the program starts.
=head1 Fields
=head2 value
has value : ro int;
The value.
=head1 Class Methods
=head2 new
static method new : Int ($value : int)
Create a new L<Int|SPVM::Int> object with a C<int> value.