NAME

X3D::Values::Int32 - Storage type for 32 bit signed integers

ALIAS

X3DInt32

SYNOPSIS

use X3D::Values::Int32;
my $int32 = new X3D::Values::Int32(1);
$int32++;
my $half = 1 / $int32; # 0.5

DESCRIPTION

This module adds support for 32 bit signed integers.

CONSTANTS

MIN_INT32

my $min_int32 = X3DInt32::MIN_INT32;

MAX_INT32

my $max_int32 = X3DInt32::MAX_INT32;

FUNCTIONS

new(value)

my $int32 = new X3D::Values::Int32(1234);

EXPORT

None by default.

Exports MIN_INT32 and MAX_INT32, export tag -all

use X3D::Values::Int32 -all;
my $min_int32 = MIN_INT32;
my $max_int32 = MAX_INT32;

SEE ALSO

BUGS

  • needed at least a 32 bit architecture

AUTHOR

Holger Seelig, hooo(at)cpan.org

COPYRIGHT AND LICENSE

Copyright (C) 2008 by Holger Seelig

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 187:

'=item' outside of any '=over'

Around line 189:

You forgot a '=back' before '=head1'