Data::Stream::Bulk::Cat - Concatenated streams
version 0.11
use Data::Stream::Bulk::Cat;
Data::Stream::Bulk::Cat->new(
streams => [ $s1, $s2, $s3 ],
);
This stream is a concatenation of several other streams.
- 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 the Data::Stream::Bulk::Array manpage to work better.
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.
|