NAME

Mango::Iterator - Iterator for Mango results

SYNOPSIS

my $users = $provider->search;
while (my $user = $users->next) {
    print $user->id;
};

DESCRIPTION

This module is simply a subclass of Handel::Iterator. See Handel::Iterator for more information about what features and methods are supported.

CONSTRUCTOR

new

Arguments: \%args

Creates a new Mango::Iterator based on the type of data passed into args.

my $it = Mango::Iterator->new({
    data => \@list
});

create_result

Transforms Handel object into Mango object.

SEE ALSO

Handel::Iterator

AUTHOR

Christopher H. Laco
CPAN ID: CLACO
claco@chrislaco.com
http://today.icantfocus.com/blog/