logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Catmandu::MultiIterator - chain multiple iterators together

Methods

       All Catmandu::Iterable methods are available.

perl v5.40.0                                       2025-01-17                       Catmandu::MultiIterator(3pm)

Name

       Catmandu::MultiIterator - chain multiple iterators together

Synopsis

           my $it = Catmandu::MultiIterator->new(
               Catmandu::Importer::Mock->new,
               Catmandu::Importer::Mock->new,
           );

           # return all the items of each importer in turn
           $it->each(sub {
               # ...
           });

See Also