++ed by:
JONASS KLEE VOJ KEEDI

4 PAUSE users
10 non-PAUSE users.

Nicolas Steenlant
and 2 contributors

NAME

Catmandu::Importer::Mock - Mock importer used for testing purposes

SYNOPSIS

    use Catmandu::Importer::Mock;

    my $importer = Catmandu::Importer::Mock->new();

    my $n = $importer->each(sub {
        my $hashref = $_[0];
        # ...
    });

METHODS

new(size => $n)

Create a new Mock importer. Optionally provide a size parameter.

count

each(&callback)

...

Every Catmandu::Importer is a Catmandu::Iterable all its methods are inherited.

SEE ALSO

Catmandu::Iterable