
Mango::Iterator - Module representing a collection of results

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

Mango::Iterator is a collection of results to be iterated or looped through. This module is a subclass of Handel::Iterator. See Handel::Iterator for more information about what features and methods are supported.

Creates a new iterator based on the type of data passed into args.
my $it = Mango::Iterator->new({
data => \@list
});

Transforms Handel based object into Mango objects. For non Handel objects, the original object is just returned.


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