Help for this page

Select Code to Download


  1. or download this
    my ($x, $y) = @{ $obj->getPosition }
    
  2. or download this
    my $point = $obj->getPosition;
    do_something_with_point($point);
    ...
    # or maybe $point->[0] - possibly bad
    # or maybe $point->{x} - probably bad
    # but really $point->x is the best