App::PipeFilter::Role::Opener::GenericOutput - a generic method to open output files
version 0.005
package App::PipeFilter::Role::Opener::GenericIO; use Moose::Role; with qw( App::PipeFilter::Role::Opener::GenericInput App::PipeFilter::Role::Opener::GenericOutput ); 1;
App::PipeFilter::Role::Opener::GenericOutput provides a generic open_output() method to open named output files. It opens STDOUT when the output file is named "-" (which is often the default).
App::PipeFilter::Generic uses open_output() to open the output files to which it will write, including STDOUT. Opening files is done in a dedicated method so it may be augmented or overridden in subclasses.
You may read this module's implementation in its entirety at
perldoc -m App::PipeFilter::Role::Opener::GenericOutput
App::PipeFilter has top-level documentation including a table of contents for all the libraries and utilities included in the project.
https://rt.cpan.org/Public/Dist/Display.html?Name=App-PipeFilter
https://github.com/rcaputo/app-pipefilter
App::PipeFilter::Role::Opener::GenericOutput is Copyright 2011 by Rocco Caputo. All rights are reserved. App::PipeFilter::Role::Opener::GenericOutput is released under the same terms as Perl itself.
To install App::PipeFilter, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::PipeFilter
CPAN shell
perl -MCPAN -e shell install App::PipeFilter
For more information on module installation, please visit the detailed CPAN module installation guide.