UniEvent::Streamer::StreamOutput - stream output for streamer
my $stream = UE::Tcp->new; # connect stream my $output = UE::Streamer::StreamOutput->new($stream); my $streamer = UE::Streamer->new($input, $output); $streamer->start(); $streamer->finish_callback(sub { ... });
Writes data from UniEvent::Streamer into a stream handle.
The underlying stream can be UniEvent::Tcp, UniEvent::Pipe or UniEvent::Tty.
Constructs new output stream for from the UniEvent::Stream handle.
To install UniEvent, copy and paste the appropriate command in to your terminal.
cpanm
cpanm UniEvent
CPAN shell
perl -MCPAN -e shell install UniEvent
For more information on module installation, please visit the detailed CPAN module installation guide.