NAME¶
Data::Stream::Bulk::Cat - Concatenated streams
VERSION¶
version 0.11
SYNOPSIS¶
use Data::Stream::Bulk::Cat;
Data::Stream::Bulk::Cat->new(
streams => [ $s1, $s2, $s3 ],
);
DESCRIPTION¶
This stream is a concatenation of several other streams.
METHODS¶
- is_done
- Returns true if the list of streams is empty.
- next
- Returns the next block from the next ready stream.
- list_cat
- Breaks down the internal list of streams, and delegates
"list_cat" to the first one.
Has the effect of inlining the nested streams into the total concatenation,
allowing "list_cat" in Data::Stream::Bulk::Array to work
better.
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.