Data::Stream::Bulk::Cat.3pm

Langue: en

Autres versions - même langue

Version: 2010-08-24 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Data::Stream::Bulk::Cat - Concatenated streams

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> This software is copyright (c) 2010 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.