NAME

SPVM::Point - a example class for easy description

SYNOPSYS

use SPVM::Point;

my $point = SPVM::Point->new(1, 2);
my $x = $point->x;
my $y = $point->y;

DESCRIPTION

SPVM::Point is a example class for easy description.

CLASS METHODS

sub new : SPVM::Point ($x : int, $y : int)

Create a new SPVM::Point object.

INSTANCE METHODS

x

sub x : int ()

Get x value.

y

sub y : int ()

Get y value.