Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

ModelSEED Database Iterator

Scott Devoid edited this page Jun 29, 2012 · 1 revision

ModelSEED::Database::Iterator

Abstract role / interface for iterators

Methods

next

while ( my $object = $itr->next ) {
    ...
}

Return the next entry in the iterator. When the iterator is exhausted, return undef.

all

my @objects = $itr->all

Return an array of all the objects in the result.