LibreCat / Catmandu

Catmandu - a data processing toolkit
https://librecat.org
177 stars 31 forks source link

Catmandu::Iterable next() #131

Closed phochste closed 9 years ago

phochste commented 9 years ago

I have some need to build some algorithms that require a next() method on an iterator. Basically a sort of alias for the generator of the Iterator.

Situation:

 my $it   = Catmandu->importer();
 my $obj = $it->next();

 (do a lot of stuff .. callbacks etc ...)

  $obj = $it->next();
nics commented 9 years ago

implemented in afa434d96e92df4eddfb7c4e39f536acfe782597