Man pages sections > man3 > Catmandu::MultiIterator

Catmandu::MultiIterator - chain multiple iterators together

Catmandu::MultiIterator(3pm) User Contributed Perl Documentation 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 {
        # ...
    });

METHODS

All Catmandu::Iterable methods are available.
2017-10-01 perl v5.26.0