Data::Stream::Bulk::Array - Data::Stream::Bulk wrapper for simple arrays.
version 0.11
return Data::Stream::Bulk::Array->new( array => \@results, );
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.
The array reference to wrap.
Returns the array reference on the first invocation, and nothing thereafter.
Returns true if next has been called.
next
Squishes adjacent arrays into a new array.
Immediately applies $filter to the internal array and returns $self.
$filter
$self
Returns true
Yuval Kogman <nothingmuch@woobling.org>
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.
To install Data::Stream::Bulk, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Stream::Bulk
CPAN shell
perl -MCPAN -e shell install Data::Stream::Bulk
For more information on module installation, please visit the detailed CPAN module installation guide.