---
name: "Data::Stream::Bulk::Array"
section: "3pm"
platform: "linux"
package: "libdata-stream-bulk-perl"
version: "0.11-1.1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Data::Stream::Bulk::Array"
---

# Data::Stream::Bulk::Array(3pm)

Data::Stream::Bulk wrapper for simple arrays.

## NAME

Data::Stream::Bulk::Array - Data::Stream::Bulk wrapper for simple arrays.

## VERSION

version 0.11

## SYNOPSIS

```
        return Data::Stream::Bulk::Array->new(
                array => \@results,
        );
```

## DESCRIPTION

This implementation of the Data::Stream::Bulk api wraps an array.

The use case is to keep the consumer of the data set implementation agnostic so that it can deal with larger data sets if they are encountered, but still retain most of the simplicity when the current data set easily fits in memory.

## ATTRIBUTES

- array

  The array reference to wrap.

## METHODS

- next

  Returns the array reference on the first invocation, and nothing thereafter.

- is\_done

  Returns true if `"next"` has been called.

- list\_cat

  Squishes adjacent arrays into a new array.

- filter $filter

  Immediately applies `$filter` to the internal array and returns `$self`.

- loaded

  Returns true

## AUTHOR

Yuval Kogman \<nothingmuch@woobling.org\>

## COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Yuval Kogman.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
