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

new

    my $iterator = $class->new(
        {   parent_object => $parent_object,
            args         => {...},
        }
    );

Create a new iterator object. As part of creating the iterator a request is sent to FreshBooks.

next

  my $next_result = $iterator->next(  );

Returns the next item in the iterator.