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

Langue: en

Autres versions - même langue

Version: 2009-04-23 (debian - 07/07/09)

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.