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.
Handel::Iterator
Christopher H. Laco CPAN ID: CLACO claco@chrislaco.com http://today.icantfocus.com/blog/
To install Mango, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mango
CPAN shell
perl -MCPAN -e shell install Mango
For more information on module installation, please visit the detailed CPAN module installation guide.