Plack::App::CGIBin::Streaming::IO - a helper PerlIO layer for Plack::App::CGIBin::Streaming
binmode HANDLE, 'via(Plack::App::CGIBin::Streaming::IO)';
This module provides a PerlIO::via layer to capture all the output written to HANDLE. It uses the global variable $Plack::App::CGIBin::Streaming::R and passes the output via the print_content method.
HANDLE
$Plack::App::CGIBin::Streaming::R
print_content
A flush operation is passed by calling the flush method.
flush
Attempts to read from a file handle configured with this layer result in an exception.
Torsten Förtsch <torsten.foertsch@gmx.net>
Copyright 2014 Binary.com
This program is free software; you can redistribute it and/or modify it under the terms of the the Artistic License (2.0). A copy of the full license is provided by the LICENSE file in this distribution and can be obtained at
http://www.perlfoundation.org/artistic_license_2_0
Plack::App::CGIBin::Streaming
To install Plack::App::CGIBin::Streaming, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack::App::CGIBin::Streaming
CPAN shell
perl -MCPAN -e shell install Plack::App::CGIBin::Streaming
For more information on module installation, please visit the detailed CPAN module installation guide.